Next.js Discord

Discord Forum

Nextauth issue with vercel template

Unanswered
Mucuchies posted this in #help-forum
Open in Discord
MucuchiesOP
Hey there just tried to use that template given by Vercel: https://vercel.com/templates/next.js/prisma-postgres-auth-starter
On the deployed version everything is fine. I'm trying to working on it locally so I pulled the env via: vercel env pull .env.development.local
+ I had to add a NEXTAUTH_URL=http://localhost:3000 in my .env to remove some warnings

Funny thing is I can succesfully signup with a new account but if i'm trying to signin. It loads forever.. The only kind of warning I got is `unstable_getServerSession has been renamed to getServerSession. Any clue of how I could work with it locally ?


node version: v18.17.1

0 Replies