From a179dc3be730266301441ae7728a4df55806502a Mon Sep 17 00:00:00 2001 From: robertu <4065233+robertu7@users.noreply.github.com> Date: Wed, 15 Feb 2023 16:40:24 +0800 Subject: [PATCH] fix(cookie): use SameSite=Lax instead of Strict --- src/common/utils/cookie.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utils/cookie.ts b/src/common/utils/cookie.ts index bd671c6b1b..8a9337a021 100644 --- a/src/common/utils/cookie.ts +++ b/src/common/utils/cookie.ts @@ -6,7 +6,7 @@ export const getCookieOptions = () => { return { expires: COOKIE_EXPIRES_IN_DAYS, secure: window.location.href.includes('https://'), - sameSite: 'Strict', + sameSite: 'Lax', } as CookieAttributes }