NextAuth not authenticating on production
Answered
Sloth bear posted this in #help-forum
Sloth bearOP
Hey! For some reason, my prod deployment on Vercel authed via NextAuth is just not authenticating, It goes through the flow, no errors and doesn't move past the sign in screen.
8 Replies
Sloth bearOP
URL in case you wanna check: https://jumpcal.vercel.app
Code: https://github.com/exception/jumpcal/blob/master/src/pages/api/auth/%5B...nextauth%5D.ts
Code: https://github.com/exception/jumpcal/blob/master/src/pages/api/auth/%5B...nextauth%5D.ts
@joulev any errors on the vercel log?
Sloth bearOP
Nothing at all, even have debug mode enabled
hmm weird, i can't help then as i don't use next-auth that much. hope someone who is more experienced with it will answer
@Sloth bear You fixed it now?
It seems to be working for me
Sloth bearOP
Yup, cookie issue.
Answer
@Sloth bear Yup, cookie issue.
Nice, I guess you could close this now