gpsoauth
gpsoauth copied to clipboard
Getting BadAuthentication, but only when using Python3.11
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?
i confirm
I'm not able to confirm, I tried Python 3.9 and Python 3.13 but both failed with same {'Error': 'BadAuthentication'}
Maybe it's not related to python versions but to some library versions, see https://github.com/simon-weber/gpsoauth/issues/48#issuecomment-2257773826