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

Access blocked: This app’s request is invalid #69

Open
ayubkhansafi opened this issue Jul 24, 2024 · 1 comment
Open

Access blocked: This app’s request is invalid #69

ayubkhansafi opened this issue Jul 24, 2024 · 1 comment

Comments

@ayubkhansafi
Copy link

ayubkhansafi commented Jul 24, 2024

I am getting the following error when I click on the URL for authorization. OAuth 2.0 Client Application type Web Application

{"web":{"client_id":"{}","project_id":"{}","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"{}","redirect_uris":["http://localhost/authorize/"]}}

Access blocked: This app’s request is invalid
You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error
If you are a developer of this app, see error details.
Error 400: redirect_uri_mismatch

Error 400: redirect_uri_mismatch
The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be used by a Client ID for native application. It is not allowed for the WEB client type. You can create a Client ID for native application at https://console.developers.google.com/apis/credentials/oauthclient
Request details: flowName=GeneralOAuthFlow
Related developer documentation

image
image


And get the following error when I click on the URL for authorization. OAuth 2.0 Client Application type Desktop App

{"installed":{"client_id":"{}","project_id":"{}","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"{}","redirect_uris":["http://localhost/authorize/"]}}

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 flowName=GeneralOAuthFlow

image
image

@carwlyjoe
Copy link

There's no "Other" type in the available options for Oauth client id credential.

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