From 547a24c6e1008b07b0c1d9ce5b46fc016678afa1 Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Mon, 3 Mar 2025 20:57:37 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=82=20Increase=20JWT=20exp=20time=20(#?= =?UTF-8?q?1607)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/src/next-auth.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/web/src/next-auth.ts b/apps/web/src/next-auth.ts index 1b6588ddb..e630e0bf4 100644 --- a/apps/web/src/next-auth.ts +++ b/apps/web/src/next-auth.ts @@ -55,6 +55,16 @@ const { session: { strategy: "jwt", }, + jwt: { + maxAge: 60 * 60 * 24 * 60, + }, + cookies: { + sessionToken: { + options: { + maxAge: 60 * 60 * 24 * 60, + }, + }, + }, events: { signIn({ user, account }) { if (user.id) {