whapa
whapa copied to clipboard
an alternative login flow if you are experiencing `BadAuthentication` errors.
Hi, I see this on the gpsoauth readme https://github.com/simon-weber/gpsoauth/blob/master/README.md
Alternative flow
There is an alternative login flow if you are experiencing
BadAuthentication
errors.
- Go to https://accounts.google.com/EmbeddedSetup
- Log into your Google Account
- Click on "I agree" when prompted
- Obtain the value of the
oauth_token
cookie. For more details see the gpsoauth-java readme.Then, perform the token exchange:
import gpsoauth email = '[email protected]' android_id = '0123456789abcdef' token = '...' # insert the oauth_token here master_response = gpsoauth.exchange_token(email, token, android_id) master_token = master_response['Token'] # if there's no token check the response for more details auth_response = gpsoauth.perform_oauth( email, master_token, android_id, service='sj', app='com.google.android.music', client_sig='...') token = auth_response['Auth']
Could this not be implemented in whatpa? @B16f00t