mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1809 from orhtej2/fix_sso_domain
[bookworm] Return auth cookie valid for whole main domain.
This commit is contained in:
commit
dc5c43255b
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue