fix(auth): add trustHost: true for reverse proxy deployment

This commit is contained in:
2026-06-13 12:21:39 +02:00
parent 44bb103eb4
commit a0371132dd
+1
View File
@@ -7,6 +7,7 @@ import bcrypt from "bcryptjs";
export const { handlers, auth, signIn, signOut } = NextAuth({
adapter: PrismaAdapter(prisma),
session: { strategy: "jwt" },
trustHost: true,
pages: {
signIn: "/auth/login",
},