Skip to content Skip to sidebar Skip to footer

Google Sign-in With Oauth2 : Erreur 400 : Redirect_uri_mismatch

I'm trying to add Google sign-in in my website, I made an Oauth Client on Google Cloud Platform but I can't add my javascript url as an allowed source. I'm getting Erreur 400 : red

Solution 1:

The redirect uri must exactly match the location which you are prepared to respond to the oauth consent.

In this case its https://.script.googleusercontent.com you should add that as a redirect uri in your project.

This might explain the issue How the fix redirect_uri_mismatch error. Part 2 server sided web applications.

Post a Comment for "Google Sign-in With Oauth2 : Erreur 400 : Redirect_uri_mismatch"