Skip to content

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

@oldgitt

Description

@oldgitt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions