From def7dd60db8474104aa5ac6d44082a002d39fea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Fri, 21 Jun 2024 09:57:05 +0400 Subject: [PATCH] Add trustHost parameter to auth options --- app/api/auth/[...nextauth]/options.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/auth/[...nextauth]/options.js b/app/api/auth/[...nextauth]/options.js index 953e3a7..749393a 100644 --- a/app/api/auth/[...nextauth]/options.js +++ b/app/api/auth/[...nextauth]/options.js @@ -34,6 +34,7 @@ export const options = { } }) ], + trustHost: true, secret: nextauthSecret, pages: { signIn: '/login'