googlearchive/PyDrive

Pydrive unable to authenticate(freezes)

Opened this issue · 2 comments

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.

PS: This is not just happening with PyDrive, it also happens when I used Drive API directly.