We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e324c9 commit a019b7aCopy full SHA for a019b7a
lib/auth.ts
@@ -15,6 +15,7 @@ export const authOptions: NextAuthOptions = {
15
// This is a temporary fix for prisma client.
16
// @see https://github.com/prisma/prisma/issues/16117
17
adapter: PrismaAdapter(db as any),
18
+ debug: true,
19
session: {
20
strategy: "jwt",
21
},
@@ -63,6 +64,8 @@ export const authOptions: NextAuthOptions = {
63
64
],
65
})
66
67
+ console.log({ result })
68
+
69
if (result.ErrorCode) {
70
throw new Error(result.Message)
71
}
0 commit comments