From cc4963ec64a288013b8bfc5c136b0ddd9d13cd7a Mon Sep 17 00:00:00 2001 From: Ivan Cvitkovic Date: Thu, 21 Dec 2023 09:41:42 -0800 Subject: [PATCH 1/2] Set cookie domain to base domain of deploy --- dev/docker-compose.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/docker-compose.yaml b/dev/docker-compose.yaml index 91ed256..49b954c 100644 --- a/dev/docker-compose.yaml +++ b/dev/docker-compose.yaml @@ -13,6 +13,7 @@ services: SESSION_COOKIE_SECURE: "true" # share cookies between domains SESSION_COOKIE_SAMESITE: None + SESSION_COOKIE_DOMAIN: ${BASE_DOMAIN} # ultimate destination after SoF launch and backend auth LAUNCH_DEST: 'https://summary.${BASE_DOMAIN:-localtest.me}/launch.html' From 79db9288c5dcbb2449e224eef9e23f110fd0f699 Mon Sep 17 00:00:00 2001 From: Ivan Cvitkovic Date: Thu, 21 Dec 2023 09:48:13 -0800 Subject: [PATCH 2/2] Remove attribute enabling 3rd party cookies --- dev/docker-compose.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev/docker-compose.yaml b/dev/docker-compose.yaml index 49b954c..9edb736 100644 --- a/dev/docker-compose.yaml +++ b/dev/docker-compose.yaml @@ -11,8 +11,7 @@ services: PREFERRED_URL_SCHEME: https SESSION_COOKIE_SECURE: "true" - # share cookies between domains - SESSION_COOKIE_SAMESITE: None + # to share cookies between subdomains, set cookie domain to base domain of deploy SESSION_COOKIE_DOMAIN: ${BASE_DOMAIN} # ultimate destination after SoF launch and backend auth