Error: Redirect_uri_mismatch Pydrive
I am trying to connect to google drive and for that I am using python pydrive library. I have followed the documentation and written a snippet for connecting with google drive. But
Solution 1:
I know its a bit late now, but it may help someone who encounters this issue. For me it was really silly. In "Authorized redirect URIs" field it must be "http://localhost:8080/" with a slash at end. In "Authorized JavaScript origins" it must be "http://localhost:8080" without a slash.
Solution 2:
Solution 3:
You're almost there. Just add '/oauth2callback' as indicated in the greyed texts.
So, under 'Authorized redirect URIs' :
http://localhost:8080/oauth2callback
Solution 4:
It seems that google api has changed their policies on authorized domains, i heard there's remote domain that redirect to localhost? or you can change your hosts file... it doesnt make sense, because google supports api usage on native apps, why would they need a domain name?
Post a Comment for "Error: Redirect_uri_mismatch Pydrive"