Pydrive unable to authenticate(freezes)
Opened this issue · 2 comments
kshitij9969 commented
I am running below code:
from pydrive.auth import GoogleAuth
gauth = GoogleAuth()
gauth.LocalWebserverAuth()
It opens a browser tab. I login and authorise. It redirects to the redirect uri with appropriate code(http://localhost:8080/code=...) and displays 'it works'.
However nothing happens in the terminal where I expect to see authentication successful.
Am I missing anything here?
I followed steps mentioned in the documentation of pydrive.
kshitij9969 commented
PS: This is not just happening with PyDrive, it also happens when I used Drive API directly.
LucSpan commented
Can't authenticate either (https://stackoverflow.com/questions/63955197/pydrive-2-0-authenticationerror-no-code-found-in-redirect). Have you found a solution?