gpsoauth icon indicating copy to clipboard operation
gpsoauth copied to clipboard

Getting BadAuthentication, but only when using Python3.11

Open SeBsZ opened this issue 1 year ago • 1 comments

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?

SeBsZ avatar Sep 06 '24 13:09 SeBsZ

i confirm

dinihou avatar Feb 16 '25 11:02 dinihou

I'm not able to confirm, I tried Python 3.9 and Python 3.13 but both failed with same {'Error': 'BadAuthentication'}

davispuh avatar Dec 10 '25 23:12 davispuh

Maybe it's not related to python versions but to some library versions, see https://github.com/simon-weber/gpsoauth/issues/48#issuecomment-2257773826

davispuh avatar Dec 11 '25 00:12 davispuh