Next.js Discord

Discord Forum

[nextauth] cant login with facebook provider

Unanswered
American Wirehair posted this in #help-forum
Open in Discord
American WirehairOP
1|frontend | https://next-auth.js.org/errors#oauth_callback_error state missing from the response {
1|frontend |   error: RPError: state missing from the response
1|frontend |       at BaseClient.oauthCallback (/root/whatsapp-clonet-nextjs/.next/server/chunks/7874.js:39:3600)
1|frontend |       at oAuthCallback (/root/whatsapp-clonet-nextjs/.next/server/chunks/7874.js:6:128824)
1|frontend |       at async Object.callback (/root/whatsapp-clonet-nextjs/.next/server/chunks/7874.js:30:805)
1|frontend |       at async AuthHandler (/root/whatsapp-clonet-nextjs/.next/server/chunks/7874.js:6:110060)
1|frontend |       at async NextAuthRouteHandler (/root/whatsapp-clonet-nextjs/.next/server/chunks/7874.js:30:19960)
1|frontend |       at async e.length.t (/root/whatsapp-clonet-nextjs/.next/server/chunks/7874.js:30:21430)
1|frontend |       at async /root/whatsapp-clonet-nextjs/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:14:39748 {
1|frontend |     name: 'OAuthCallbackError',
1|frontend |     code: undefined
1|frontend |   },
1|frontend |   providerId: 'facebook',
1|frontend |   message: 'state missing from the response'
1|frontend | }

0 Replies