Closed weilueluo closed 2 years ago
The final URL for me is
http://localhost:8090/?code=4/0AX4XfWgdW6akY2jK57Fw7hLrI0SjSkG9XuTptHffgDWQ3R9eNZttUEE_eKktX1Rwex5DSw&scope=https://www.googleapis.com/auth/drive
Answer to questions from the issue
Are you sure the python doesn't crash or you're not stopping it in between clicking the first link and trying the final URL?
No, it just stuck on the same line
What happens to the python script that gives you the first URL? It should just sit there waiting?
Yes, it just sit there waiting
If it is sitting there waiting, did you try popping that final URL in e.g. curl or wget or something, just in case your browser is having some problem with non-https URL's or something like that?
If I reopen the same URL, it will go through the same sign-in process and end up on the same localhost refuse to connect page
Ok, not sure what happened, but when I follow the google drive docs' guide to set up the credentials it works
Well, I find that it works locally on Jupyter Notebook but not google colab.
I find that I can just use the CommandLineAuth
instead of LocalWebserverAuth
to make it work in google colab.
Hi I am having the same issue as #77