can you share how to change the client to not login to pwi through arc client ?
I don't play on PWI.
I learned that it uses OAuth2 authentication, which basically returns a token that is validated on login by the client.
To solve this, use a network analyzer, it can be Wireshark, check which url is called, usually it has 'oauth'/'oauth2'/'authenticate' in the name.
Knowing the url, you can use any OAuth2 authentication library, send the same parameters, receive the token and call the client, passing this token.
The new login process would be:
1 - send username and password to OAuth2, receive the token
2 - call element.exe, passing user, password and token
I believe it will work.
I'm wasting my time trying to log into 1.6.x with my OOG script.
Once I'm able to log in, I can do this and post it here.