simon-weber / gpsoauth

A python client library for Google Play Services OAuth.
MIT License
95 stars 31 forks source link

Getting BadAuthentication, but only when using Python3.11 #69

Open SeBsZ opened 4 weeks ago

SeBsZ commented 4 weeks ago

When running a basic test using Python 3.11, I'm getting BadAuthentication returned once again:

env-linux/bin/python3.11 gpsoauthtest.py 
{'Error': 'BadAuthentication'}
Traceback (most recent call last):
  File "/srv/www/htdocs/x/gpsoauthtest.py", line 9, in <module>
    master_token = master_response['Token']
                   ~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: 'Token'

However, when using Python 3.10, it works. Has anyone noticed this bug as well, and found a fix or workaround?