diff --git a/src/authenticators/ldap_ynhuser.py b/src/authenticators/ldap_ynhuser.py index 4aa1c05d0..941797705 100644 --- a/src/authenticators/ldap_ynhuser.py +++ b/src/authenticators/ldap_ynhuser.py @@ -232,6 +232,7 @@ class Authenticator(BaseAuthenticator): path="/", # Doesn't this cause issues ? May cause issue if the portal is on different subdomain than the portal API ? Will surely cause issue for development similar to CORS ? samesite="strict" if not is_dev else None, + domain=f".{request.get_header('host')}", ) # Create the session file (expiration mechanism)