Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Pydrive unable to authenticate(freezes) #206

Open
kshitij9969 opened this issue Jul 24, 2020 · 2 comments
Open

Pydrive unable to authenticate(freezes) #206

kshitij9969 opened this issue Jul 24, 2020 · 2 comments

Comments

@kshitij9969
Copy link

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
Copy link
Author

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

@LucSpan
Copy link

LucSpan commented Sep 18, 2020

Can't authenticate either (https://stackoverflow.com/questions/63955197/pydrive-2-0-authenticationerror-no-code-found-in-redirect). Have you found a solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants