Closed mmackay055 closed 11 months ago
Sorry, I don't believe that the "old" endpoints have either been removed or been slated for removal, so I'm not sure what was causing the errors. It's conceivable that oauth2.py
could switch to the "new" endpoints, but I suspect that this would entail a dependency on https://github.com/googleapis/google-api-python-client or similar, which I'm not keen to adopt at this time.
When using oauth2.py I kept getting authentication errors when submitting the code to retrieve a new token. I found it was using
https://accounts.google.com/o/oauth2/token
to request tokens vs usinghttps://oauth2.googleapis.com/token
as stated in google's documentation.I feel there is probably other outdated urls in the script as well.