diff --git a/utils/auth/next-auth.ts b/utils/auth/next-auth.ts index 01e855f..4233efb 100644 --- a/utils/auth/next-auth.ts +++ b/utils/auth/next-auth.ts @@ -34,6 +34,7 @@ const providers = deriveAuthProviders(); const adapter = deriveDatabaseAdapter(); const { handlers: nextAuthHandlers, auth } = NextAuth({ + trustHost: true, useSecureCookies: process.env.NODE_ENV === 'production', session: { strategy: 'jwt',