Next.js Discord

Discord Forum

supabase + nextauth

Unanswered
Lionhead posted this in #help-forum
Open in Discord
LionheadOP
[auth][error] AdapterError: Read more at https://errors.authjs.dev#adaptererror
    at acc.<computed> (webpack-internal:///(middleware)/./node_modules/@auth/core/lib/init.js:181:31)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Module.session (webpack-internal:///(middleware)/./node_modules/@auth/core/lib/actions/session.js:67:30)
    at async AuthInternal (webpack-internal:///(middleware)/./node_modules/@auth/core/lib/index.js:47:24)
    at async Auth (webpack-internal:///(middleware)/./node_modules/@auth/core/index.js:126:34)
    at async handleAuth (webpack-internal:///(middleware)/./node_modules/next-auth/lib/index.js:134:29)
    at async adapter (webpack-internal:///(middleware)/./node_modules/next/dist/esm/server/web/adapter.js:179:16)
    at async D:\projekty\dash\node_modules\next\dist\server\web\sandbox\sandbox.js:110:22
    at async runWithTaggedErrors (D:\projekty\dash\node_modules\next\dist\server\web\sandbox\sandbox.js:107:9)
    at async DevServer.runMiddleware (D:\projekty\dash\node_modules\next\dist\server\next-server.js:1062:24)
[auth][error] SessionTokenError: Read more at https://errors.authjs.dev#sessiontokenerror
[auth][cause]: AdapterError: Read more at https://errors.authjs.dev#adaptererror
    at acc.<computed> (webpack-internal:///(middleware)/./node_modules/@auth/core/lib/init.js:181:31)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Module.session (webpack-internal:///(middleware)/./node_modules/@auth/core/lib/actions/session.js:67:30)
    at async AuthInternal (webpack-internal:///(middleware)/./node_modules/@auth/core/lib/index.js:47:24)
    at async Auth (webpack-internal:///(middleware)/./node_modules/@auth/core/index.js:126:34)
    at async handleAuth (webpack-internal:///(middleware)/./node_modules/next-auth/lib/index.js:134:29)
    at async adapter (webpack-internal:///(middleware)/./node_modules/next/dist/esm/server/web/adapter.js:179:16)
    at async D:\projekty\dash\node_modules\next\dist\server\web\sandbox\sandbox.js:110:22
    at async runWithTaggedErrors (D:\projekty\dash\node_modules\next\dist\server\web\sandbox\sandbox.js:107:9)
    at async DevServer.runMiddleware (D:\projekty\dash\node_modules\next\dist\server\next-server.js:1062:24)
[auth][details]: {}
 GET /api/auth/error?error=Configuration 500 in 18ms

2 Replies

LionheadOP
why i have the session token error
when i have everything setup correctly