-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 400: redirect_uri_mismatch when creating credentials #109
Comments
I think you did not change the application type to Desktop. The desktop application does not require configuring a redirect URI. It should accept any localhost redirect URI. As for the service accounts — you have to log in as a Google user and authorize the app to access your Google Drive. Would this behavior be possible with service accounts? I haven't checked this, but I think that won't be possible. |
heya, @hamon-e, I think I'm having the same issue ending at a 127.0.01 refused to connect when trying to set up the account (i did set the application type to Desktop App). Can you tell me where I can access the |
same issue here,, the redirect URIs only possible to setup when use web application type |
If you’re trying to configure gdrive on a remote server but are stuck with the 127.0.0.1 redirect during the OAuth process, here’s what you can do:
|
I had to add the URL http://127.0.0.1:8085 to the oauth configuration
Authorized redirect URIs
otherwise I had the errorError 400: redirect_uri_mismatch
I think it should be added to that documentation
https://github.com/glotlabs/gdrive/blob/main/docs/create_google_api_credentials.md
Thanks
Btw why not using a service account instead? it would be much easier
The text was updated successfully, but these errors were encountered: