Redirect uri mismatch in aws amplify #11742
Unanswered
IzaanAnwar
asked this question in
Help
Replies: 2 comments
-
Any solution to this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Besides add environment variabel Go to Amplify dashboard > build setting and edit the file like:
If your environment variable's prefix is Reference: https://docs.aws.amazon.com/amplify/latest/userguide/ssr-environment-variables.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Provider type
Google
Environment
Reproduction URL
https://github.com/IzaanAnwar/auth-ex/
Describe the issue
When I am logging in with google, it after the login complete redirects to
https://localhost:3000
instead of my domain.It works in localhost as well as in vercel deployment but it is giving me this error only in aws amplify.
error { error: 'redirect_uri_mismatch', error_description: 'Bad Request' }
How to reproduce
It's a private repo.. so I can't give access to whole code but try the repo above and deploy on amplify.
Expected behavior
Redirects to my domain instead of https://localhost:3000
Beta Was this translation helpful? Give feedback.
All reactions