From cef5402cfaf965c3c81fb33e4fb80491af11641d Mon Sep 17 00:00:00 2001 From: Carlos Date: Thu, 9 Jul 2026 11:18:13 +0200 Subject: [PATCH] fix: add trustHost true to NextAuth config for proxy --- pages/api/auth/[...nextauth].js | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/api/auth/[...nextauth].js b/pages/api/auth/[...nextauth].js index 4bde4d4..1694761 100644 --- a/pages/api/auth/[...nextauth].js +++ b/pages/api/auth/[...nextauth].js @@ -8,6 +8,7 @@ const prisma = new PrismaClient() export default NextAuth({ adapter: PrismaAdapter(prisma), + trustHost: true, providers: [ CredentialsProvider({ name: "Credentials",