Authorization return {} and not setting cookie #12542
Unanswered
hayatiuyun
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
Uh oh!
There was an error while loading. Please reload this page.
-
Does anyone know what's this error means
{}
after successfull signIn in auth.js with nextauth?I'm using NextAuth.js with a custom
CredentialsProvider
. Theauthorize
andjwt
callbacks work fine, but thesession cookie
isn't set, and the session callback doesn't trigger. The signIn return{}
Here's my configuration:What could be causing this issue? How I can fix it?
Beta Was this translation helpful? Give feedback.
All reactions