-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
chapter 15 : how to set AUTH_SECRET and url on vercel.app #569
Comments
https://vercel.com/docs/projects/environment-variables#preview-environment-variables |
chapter 15 let's go vercel with https://vercel.com/docs/projects/environment-variables |
I have the same problem. I added AUTH_SECRET to the progect in versel.app, but i still can't login in deployment. |
I had the same issue which I solved somehow by editing AUTH_SECRET and redeploying the application a couple of times. |
@liwenz interesting 🤔 are you still experiencing this issue? |
also I have problem with this auth, in local host works well but in vercel host I receive 405 error. error: Failed to load resource: the server responded with a status of 405 () |
Hi @biznezzit I have the same error, could you fix it?, i get 405 status, i added AUTH_SECRET, and redeploy, but I still have the same mistake :(, same thing that happened to @amirrahemi01 |
When you make changes to your environment variables, you need to redeploy your project because Vercel reads these variables only during the initial deployment. Any newly added environment variables won't be recognized by Vercel until you redeploy your project. |
I confirmed can login after redeploy my project, thanks heaps! |
the chapter 15 has no mid check point. I finish and check it.
on http://localhost:3000/dashboard
it works well,
Bu;t I publish and test on
https://nextjs-dashboard2-plum.vercel.app/login
it can't login
In my pc, I set AUTH_SECRET and url
how to do on vercel.app
The text was updated successfully, but these errors were encountered: