From 1614864860736a5cca9a908e73b86b9b85c8e67d Mon Sep 17 00:00:00 2001 From: Hassan El Mghari Date: Fri, 10 Mar 2023 12:26:17 -0500 Subject: [PATCH] added debug: true to next auth --- pages/api/auth/[...nextauth].ts | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/api/auth/[...nextauth].ts b/pages/api/auth/[...nextauth].ts index b2d47412..45963e51 100644 --- a/pages/api/auth/[...nextauth].ts +++ b/pages/api/auth/[...nextauth].ts @@ -4,6 +4,7 @@ import { PrismaAdapter } from "@next-auth/prisma-adapter"; import prisma from "../../../lib/prismadb"; export const authOptions: NextAuthOptions = { + debug: true, adapter: PrismaAdapter(prisma), providers: [ GoogleProvider({