From bf40ca71130fa66820ebd60f3a359253d6ea891b Mon Sep 17 00:00:00 2001 From: Andrei Neagu Date: Wed, 16 Oct 2024 10:56:13 +0200 Subject: [PATCH] rename cookies --- packages/settings-library/src/settings_library/utils_session.py | 2 +- services/docker-compose-dev-vendors.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/settings-library/src/settings_library/utils_session.py b/packages/settings-library/src/settings_library/utils_session.py index 48055810d45..3c78f7efa84 100644 --- a/packages/settings-library/src/settings_library/utils_session.py +++ b/packages/settings-library/src/settings_library/utils_session.py @@ -2,7 +2,7 @@ import binascii from typing import Final -DEFAULT_SESSION_COOKIE_NAME: Final[str] = "osparc-sc" +DEFAULT_SESSION_COOKIE_NAME: Final[str] = "osparc-sc2" _32_BYTES_LENGTH: Final[int] = 32 diff --git a/services/docker-compose-dev-vendors.yml b/services/docker-compose-dev-vendors.yml index 3b39d81636e..02b614289bc 100644 --- a/services/docker-compose-dev-vendors.yml +++ b/services/docker-compose-dev-vendors.yml @@ -17,7 +17,7 @@ services: # auth: https://doc.traefik.io/traefik/middlewares/http/forwardauth - traefik.http.middlewares.${SWARM_STACK_NAME}_manual-auth.forwardauth.address=http://${WEBSERVER_HOST}:${WEBSERVER_PORT}/v0/auth:check - traefik.http.middlewares.${SWARM_STACK_NAME}_manual-auth.forwardauth.trustForwardHeader=true - - traefik.http.middlewares.${SWARM_STACK_NAME}_manual-auth.forwardauth.authResponseHeaders=Set-Cookie,osparc-sc + - traefik.http.middlewares.${SWARM_STACK_NAME}_manual-auth.forwardauth.authResponseHeaders=Set-Cookie,osparc-sc2 # routing - traefik.http.services.${SWARM_STACK_NAME}_manual.loadbalancer.server.port=80 - traefik.http.services.${SWARM_STACK_NAME}_manual.loadbalancer.healthcheck.path=/