Add trustHost for production NextAuth

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-05 11:04:36 +00:00
parent baa9af3f46
commit 4fa5012b4d
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import bcrypt from "bcryptjs";
export const { handlers, signIn, signOut, auth } = NextAuth({
adapter: PrismaAdapter(prisma),
trustHost: true,
session: {
strategy: "jwt",
},