Closed Bird87ZA closed 4 years ago
Encode your password before doing the authentication.
Encode how? Just base64?
Tried Base64 and a urlencode and both still fail.
Strange, I use url encode and mine is working. Unable to check my code until Sunday as I am on holiday.
No worries. I'll continue trying until I figure it out.
If I figure it out before Sunday, will post here. Perhaps something I'll add to the docs just so everyone knows :)
Just an update on this. I encode my password and get this: MyPass%5E%217%2A
Then I run: xbox-authenticate --email test@example.com --password MyPass%5E%217%2A
And it still throws:
Email/Password authentication failed! Err: Could not log in with supplied credentials
When I use a buddy's login that has no special characters, it works 100% fine.
Try like this:
xbox-authenticate --email test@example.com --password "MyPass^!7*"
xbox-authenticate --email test@example.com --password 'MyPass^!7*'
Putting it in single apostrophes worked. Thanks
It seems like the api is changing special characters. If I run
xbox-authenticate
the below happens:What could be the cause? Or should I escape the password?