Replies: 6 comments 9 replies
-
I don't see a top level secret defined. https://next-auth.js.org/getting-started/upgrade-v4#missing-secret Also, where did you read about |
Beta Was this translation helpful? Give feedback.
-
The strange thing is that in my house where I use windows 10 and on vercel it works normally, at my work where I use windows 11 it doesn't work |
Beta Was this translation helpful? Give feedback.
-
In development hardcode your JWT secret and secret for next-auth. |
Beta Was this translation helpful? Give feedback.
-
I'm running into this issue as well. My JWT and next-auth secret are hardcoded, and it doesn't help. |
Beta Was this translation helpful? Give feedback.
-
I had the similar issue, the app was working fine in my local and not in Vercel deployed instance. It got resolved by adding SECRET (for me it is 'JWT_SECRET') environment variable in Vercel environment variables. I was using this JWT_SECRET in my [...nextAuth].js file
|
Beta Was this translation helpful? Give feedback.
-
Today, the same problem occurs when I use sidebase/nuxt-auth And When I use
And When I run I know
|
Beta Was this translation helpful? Give feedback.
-
Question 💬
Hi, I'm getting this error and I have no idea why!
I've already searched the entire documentation for next-auth, on google and I can't find anything related to it. can you help me?
OBS: I can't post my code here because it breaks the formatting, I'll leave the file link in my repository
https://github.com/ev4ndropc/Rocket_Controller/blob/main/src/pages/api/auth/%5B...nextauth%5D.js
How to reproduce ☕️
The error happens every time I try to login
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions