Add trustHost for next auth

This commit is contained in:
2026-04-21 19:32:21 +04:00
parent 4029655dfe
commit 0eccb35172
+2 -1
View File
@@ -42,7 +42,8 @@ export const { handlers, auth } = NextAuth({
})
],
session: {
strategy: "jwt"
strategy: "jwt",
trustHost: true
},
secret: process.env.NEXT_PUBLIC_JWT_SECRET,
callbacks: {