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

Error 400: redirect_uri_mismatch #264

Open
oficinaonlinecr opened this issue Jul 25, 2023 · 0 comments
Open

Error 400: redirect_uri_mismatch #264

oficinaonlinecr opened this issue Jul 25, 2023 · 0 comments

Comments

@oficinaonlinecr
Copy link

Env: prod
laravel version: 8.0
php version 7.4

I got this error message: No puedes acceder a esta app porque no cumple con la política OAuth 2.0 de Google.

redirect_uri=http://mayapp.com/api/oauth/gmail/callback

In app OAuth consent screen I have:
redirect_uri=https://mayapp.com/api/oauth/gmail/callback

It looks like the http protocol is not set properly

Can you check if it's something in this package or is it from Google's package?

https://developers.google.com/identity/protocols/oauth2/web-server?hl=es-419#authorization-errors-redirect-uri-mismatch

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

1 participant