-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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: Invalid Request when using Google OAuth2 on Vercel builds (works in localhost) #622
Closed
3 of 5 tasks
Labels
bug
Something isn't working
Comments
Updating to the latest version fixed this issue, without changing any other configs. |
@SushritPasupuleti |
@SushritPasupuleti |
@tamlth0595 sure, let me know what it is ? |
ok, I will send you the url. |
How do you set the environment variables on vercel? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I built a basic project using the example repo. Everything is configured (environment variables, authorized domains etc) and even included the environment variables on vercel too. But for some reason, even after it works perfectly on localhost the login fails when on vercel.
Steps to reproduce
You can head to my live site here: link to site
Press sign in in the top nav bar.
Use google sign in
You're greeted by the error message.
Expected behavior
The signin should be succesful and you should be redirected to the home page. And the nav bar should show your gmail details.
Screenshots or error logs
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: