Next.js Discord

Discord Forum

"State cookie was missing." about NextAuth.

Unanswered
Knopper gall posted this in #help-forum
Open in Discord
Knopper gallOP
When I use the NextAuth library, the verification is displayed:
[next-auth][warn][NO_SECRET] 
https://next-auth.js.org/warnings#no_secret
[next-auth][warn][DEBUG_ENABLED]
https://next-auth.js.org/warnings#debug_enabled
[next-auth][error][OAUTH_CALLBACK_ERROR]
https://next-auth.js.org/errors#oauth_callback_error State cookie was missing. {
  error: TypeError: State cookie was missing.  
    name: 'OAuthCallbackError',
    code: undefined
  },
  providerId: 'discord',
  message: 'State cookie was missing.'
}

I've searched online for forums or articles, but there's no solution to this problem...
I'd be grateful for any help you can get.

0 Replies