MomenSherif / react-oauth

Google OAuth2 using the new Google Identity Services SDK for React 🚀
https://www.npmjs.com/package/@react-oauth/google
MIT License
1.13k stars 141 forks source link

Error 400: redirect_uri_mismatch #343

Closed punter82 closed 7 months ago

punter82 commented 7 months ago

Please ignore this. It was a configuration error. It has been resolved.

ammarraj commented 6 months ago

I think posting what was the issue and how was it fixed might help others. For me I was missing this part of the configuration (from Readme):

Key Point: Add both http://localhost and http://localhost: to the Authorized JavaScript origins box for local tests or development.