App is navigating to /api/auth/error instead of /api/auth/sigin in Prod. #11277
Unanswered
anandms101
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My app is running fine on my local env but after I deployed it on vercel, I am not able to sign in because it's getting redirected to
/api/auth/error
and displaying the following message:and the log message is
[GET] /api/auth/error?error=Configuration&nxtPnextauth=error status=500
I did some research online and found that we are required to add
NEXTAUTH_SECRET
key on production, which I have added now, but the issue still persists.This is my
auth.ts
file:What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions