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
This commit is contained in:
Félix Malfait
2025-12-03 10:04:35 +01:00
committed by GitHub
parent a0f196e871
commit e18262cfa6
@@ -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 ?? {}),
};