From 3a138c744de36332f8a41bdd5277a92ac9c79b18 Mon Sep 17 00:00:00 2001 From: Bibiana Sebestianova Date: Tue, 25 Jun 2024 09:31:37 +0200 Subject: [PATCH] fix: phaseout google chrome and edge partitioned cookie --- .../cookie/changedCookieHeaderValue/changedCookieHeaderValue.ts | 2 +- .../cookie/expiredCookieHeaderValue/expiredCookieHeaderValue.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/cookie/changedCookieHeaderValue/changedCookieHeaderValue.ts b/src/utils/cookie/changedCookieHeaderValue/changedCookieHeaderValue.ts index 307eb09..05f535e 100644 --- a/src/utils/cookie/changedCookieHeaderValue/changedCookieHeaderValue.ts +++ b/src/utils/cookie/changedCookieHeaderValue/changedCookieHeaderValue.ts @@ -5,4 +5,4 @@ * @param value */ export const changedCookieHeaderValue = (name: string, value: string) => - `${name}=${value}; path=/; samesite=none; secure; httponly` + `${name}=${value}; path=/; samesite=none; secure; httponly; partitioned;` diff --git a/src/utils/cookie/expiredCookieHeaderValue/expiredCookieHeaderValue.ts b/src/utils/cookie/expiredCookieHeaderValue/expiredCookieHeaderValue.ts index 1fb7290..014bc8d 100644 --- a/src/utils/cookie/expiredCookieHeaderValue/expiredCookieHeaderValue.ts +++ b/src/utils/cookie/expiredCookieHeaderValue/expiredCookieHeaderValue.ts @@ -1,2 +1,2 @@ export const expiredCookieHeaderValue = (name: string) => - `${name}=""; path=/; samesite=none; secure; httponly; expires=Thu, 01 Jan 1970 00:00:00 GMT` + `${name}=""; path=/; samesite=none; secure; httponly; expires=Thu, 01 Jan 1970 00:00:00 GMT; partitioned;`