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

Please can you add NEXTAUTH_URL to the env.local file? #69

Open
oldgitt opened this issue Dec 3, 2024 · 1 comment
Open

Please can you add NEXTAUTH_URL to the env.local file? #69

oldgitt opened this issue Dec 3, 2024 · 1 comment

Comments

@oldgitt
Copy link

oldgitt commented Dec 3, 2024

Thanks for creating this startup wrapper, it's next level, much appreciated!!!!

Please can you add NEXTAUTH_URL to the env.local file?

I spent hours trying to debug in production a google oauth redirect_uri_mismatch error

You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue. [Learn more about this error](https://developers.google.com/identity/protocols/oauth2/web-server#authorization-errors-redirect-uri-mismatch)
If you are a developer of this app, see [error details](https://accounts.google.com/).
Error 400: redirect_uri_mismatch

All I had to do was set the NEXTAUTH_URL as the production URL

Could be worth adding to the envs and docs

@rainer85ah
Copy link

Same here.

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

2 participants