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

NextAuth CLIENT_FETCH_ERROR , NEXTAUTH_URL #379

Open
ochoalopezalfredo opened this issue Dec 26, 2022 · 0 comments
Open

NextAuth CLIENT_FETCH_ERROR , NEXTAUTH_URL #379

ochoalopezalfredo opened this issue Dec 26, 2022 · 0 comments

Comments

@ochoalopezalfredo
Copy link

Hello everyone,

Trying to use the NextAuth.js library I encountered the following problem, the environment variables in the .env file are not being reflected correctly in the deploy.

Packages
"next": "12",
"next-auth": "4.15.2".

Error
[next-auth][error][CLIENT_FETCH_ERROR]
https://next-auth.js.org/errors#client_fetch_error

If you see CLIENT_FETCH_ERROR make sure you have configured the NEXTAUTH_URL environment variable.

Related Docs
https://next-auth.js.org/deployment

so is there any way to add these variables manually to the deploy ?
has anyone found a way to fix it ?

thanks in advance

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

1 participant