Skip to content

Conversation

@piducancore
Copy link

For authentication to work locally on development, in addition to NEXTAUTH_SECRET, we need to set NEXTAUTH_URL environment variable. This avoids a TypeError [ERR_INVALID_URL]: Invalid URL when trying to login locally.

For authentication to work locally on development, in addition to `NEXTAUTH_SECRET`, we need to set `NEXTAUTH_URL` environment variable.
This avoids a `TypeError [ERR_INVALID_URL]: Invalid URL` when trying to login locally.
@vercel
Copy link

vercel bot commented May 24, 2023

@piducancore is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@AnsonZnl
Copy link

AnsonZnl commented Jun 5, 2023

thank you~

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

Successfully merging this pull request may close these issues.

3 participants