From 1fe3ef0ee1b9d7a144fe29c384be5f9d880d026c Mon Sep 17 00:00:00 2001 From: Dmytro Stanchiev Date: Sat, 16 Aug 2025 19:39:46 -0400 Subject: [PATCH] fix untrustedHost authjs issue https://authjs.dev/reference/core/errors#untrustedhost --- src/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/auth.ts b/src/auth.ts index 841a37d..b8c940f 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -38,6 +38,7 @@ const config = { signIn: "/signin", signOut: "/signout", }, + trustHost: true, // callbacks: { // authorized({ auth, request: { nextUrl } }) { // const isLoggedIn = !!auth?.user;