Next.js Discord

Discord Forum

Auth error but response 200 on vercel

Unanswered
Broad-snouted Caiman posted this in #help-forum
Open in Discord
Broad-snouted CaimanOP
Error code :

[auth][error] CallbackRouteError: Read more at https://errors.authjs.dev#callbackrouteerror
[auth][cause]: TypeError: "ikm"" must be an instance of Uint8Array or a string
at i (/var/task/.next/server/chunks/782.js:398:21462)
at /var/task/.next/server/chunks/782.js:398:21744
at s (/var/task/.next/server/chunks/782.js:398:21842)
at c (/var/task/.next/server/chunks/782.js:42:18958)
at Object.o [as encode] (/var/task/.next/server/chunks/782.js:42:18019)
at Object.c (/var/task/.next/server/chunks/782.js:42:26321)
at async c (/var/task/.next/server/chunks/782.js:42:42399)
at async u (/var/task/.next/server/chunks/782.js:42:17111)
at async a (/var/task/.next/server/chunks/782.js:398:72917)
at async b (/var/task/.next/server/app/login/page.js:7:244)
[auth][details]: {
"provider": "credentials"
}

This is the basic nextjs dashboard app then i deploy it on vercel and tried to login with the default user

0 Replies