You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try load session from another (not credentials.json) file, but when i create a WAClient via WAClient client = new WAClient();
WAClient use default file "credentials.json" and after that constructor already set new auth : public WABackendConnector() { this.auth = AuthCredentials.loadAuthCredentials(credentialsPath); }
After that i try set a new file client.setCredentialsPath("wa-sessions/" + path);
But in WAClient in AuthCredentials auth i have a auth based on credentials.json
I think need on method public void setCredentialsPath(String credentialsPath) { this.credentialsPath = credentialsPath; }
Hello!
I try load session from another (not credentials.json) file, but when i create a WAClient via
WAClient client = new WAClient();
WAClient use default file "credentials.json" and after that constructor already set new auth :
public WABackendConnector() { this.auth = AuthCredentials.loadAuthCredentials(credentialsPath); }
After that i try set a new file
client.setCredentialsPath("wa-sessions/" + path);
But in WAClient in AuthCredentials auth i have a auth based on credentials.json
I think need on method
public void setCredentialsPath(String credentialsPath) { this.credentialsPath = credentialsPath; }
Reload auth
public void setCredentialsPath(String credentialsPath) { this.credentialsPath = credentialsPath; this.auth = AuthCredentials.loadAuthCredentials(credentialsPath); }
Thanks
The text was updated successfully, but these errors were encountered: