Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

OAuth callback error #38

@donnyroufs

Description

@donnyroufs

Server log:

@bbforge/web:start: [next-auth][error][OAUTH_CALLBACK_ERROR]
@bbforge/web:start: https://next-auth.js.org/errors#oauth_callback_error State cookie was missing. {
@bbforge/web:start:   error: TypeError: State cookie was missing.
@bbforge/web:start:       at Object.use (/app/apps/web/.next/server/chunks/146.js:8287:27)
@bbforge/web:start:       at oAuthCallback (/app/apps/web/.next/server/chunks/146.js:8076:29)
@bbforge/web:start:       at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@bbforge/web:start:       at async Object.callback (/app/apps/web/.next/server/chunks/146.js:8971:79)
@bbforge/web:start:       at async AuthHandler (/app/apps/web/.next/server/chunks/146.js:6909:38)
@bbforge/web:start:       at async NextAuthRouteHandler (/app/apps/web/.next/server/chunks/146.js:9979:30)
@bbforge/web:start:       at async NextAuth._args$ (/app/apps/web/.next/server/chunks/146.js:10013:24)
@bbforge/web:start:       at async /app/apps/web/.next/server/chunks/20.js:5134:37 {
@bbforge/web:start:     name: 'OAuthCallbackError',
@bbforge/web:start:     code: undefined
@bbforge/web:start:   },
@bbforge/web:start:   providerId: 'discord',
@bbforge/web:start:   message: 'State cookie was missing.'
@bbforge/web:start: }

possible related issue:
nextauthjs/next-auth#7491

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions