Access blocked: This app’s request is invalid || Error 400: redirect_uri_mismatch

 Access blocked: This app’s request is invalid or Error 400: redirect_uri_mismatch

If any type of error comes out of both, then you can follow the steps mentioned below.

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 errorIf you are a developer of this app, see error details.Error 400: redirect_uri_mismatch

Access blocked: This app’s request is invalid || Error 400: redirect_uri_mismatch

If you have also done google oauth2 implementation on your website, if it is not working then follow the steps given below to fix this problem

Step 1:- When you log in with the google oauth2 method, you get the error "Access blocked: This app's request is invalid".



Step 2:- Here you get to see an error "Error 400: redirect_uri_mismatch", from this error you can clearly understand what is actually the problem.

Step 3:- When generating your google oauth2 api key, the redirect url you gave in your "Authorized redirect URL" and the url you are redirecting to google oauth2 are different.

Step 4:-  Now you have to login to your Google Cloud account as well as select the project on which your Google oauth2 api key was created.

Step 5:- Select Project then select APIs & Services then click on Credentials then in action of OAuth 2.0 Client IDs you get to see edit pencil, you have to click on edit button






Step 6:-  First of all you have to delete whatever link is given in Authorized redirect URIs.



Step 7:- Now you have to copy the URL from which you go to sign in from Google/Gmail, you can see in the image we will redirect from the given URL, because that example.com/google/ OAuth2 File is given in the folder





Step 8:-  Now you have to click Add URL then you will get URLs1 A link has to be mentioned, after that Save Button has to be clicked.




Step 9:- Then you get the message of Oauth Client Saved



Step 9:-  When you try again, a mention is displayed for you to sign in with Gmail.


Somehow you can fix this problem, hope you liked this article.

Post a Comment

Previous Post Next Post