Open kshitij9969 opened 4 years ago
PS: This is not just happening with PyDrive, it also happens when I used Drive API directly.
Can't authenticate either (https://stackoverflow.com/questions/63955197/pydrive-2-0-authenticationerror-no-code-found-in-redirect). Have you found a solution?
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.