You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://next-auth.js.org/errors#no_secret Please define a `secret` in production. MissingSecret [MissingSecretError]: Please define a `secret` in production.
Can anyone think of anything else I'm missing here?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all, I wanted to post this as a bug but it's my company's app, so I thought I'd open a discussion so I don't have to disclose any private info.
Locally, everything works fine. When we went onto production, it started giving NO_SECRET errors.
I've followed the docs and searched & implemented other solutions people have posted but haven't had any success.
next.config.js
[...nextAuth].js
Server Log
Can anyone think of anything else I'm missing here?
Beta Was this translation helpful? Give feedback.
All reactions