From e18262cfa66f257d6c55395292c22f30a5da9293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Malfait?= Date: Wed, 3 Dec 2025 10:04:35 +0100 Subject: [PATCH] Change cookie storage duration (#16271) Set it to 180 days like Notion does. Currently **Access Token Expires In** is set to 90 days but this setting is ignored because the cookie is cleared after 7 days --- packages/twenty-front/src/utils/recoil-effects.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-front/src/utils/recoil-effects.ts b/packages/twenty-front/src/utils/recoil-effects.ts index 0c9c8413d7..6876db6dca 100644 --- a/packages/twenty-front/src/utils/recoil-effects.ts +++ b/packages/twenty-front/src/utils/recoil-effects.ts @@ -53,7 +53,7 @@ export const cookieStorageEffect = } const defaultAttributes = { - expires: new Date(Date.now() + 1000 * 60 * 60 * 24 * 7), + expires: new Date(Date.now() + 1000 * 60 * 60 * 24 * 180), ...(attributes ?? {}), };