Skip to content
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

CommandLineAuth Generate Wrong Link #344

Open
x1foideo opened this issue Apr 30, 2024 · 1 comment
Open

CommandLineAuth Generate Wrong Link #344

x1foideo opened this issue Apr 30, 2024 · 1 comment

Comments

@x1foideo
Copy link

Trying to login to the Drive using CommandLineAuth() returns:

Errore 400: redirect_uri_mismatch

However when using LocalWebserverAuth() no errors are encountered.

@Stardidi
Copy link

Stardidi commented May 4, 2024

Encountered the same issue. Showing more details gives:

Error 400: invalid_request
The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.
Request details: redirect_uri=urn:ietf:wg:oauth:2.0:oob

And links to this page: https://developers.google.com/identity/protocols/oauth2/resources/oob-migration

It seems this entire flow has been deprecated. I'm not too familiar with the Google's OAuth, but it seems one of the alternative's is hosting a small webpage on loopback: https://developers.google.com/identity/protocols/oauth2/native-app#redirect-uri_loopback

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

No branches or pull requests

2 participants