fix session cookie not being transmitted when using http instead of https

This commit is contained in:
maxDorninger
2025-07-13 17:21:12 +02:00
parent 4b09471988
commit e2704b6b1f

View File

@@ -116,7 +116,9 @@ class RedirectingCookieTransport(CookieTransport):
bearer_transport = BearerTransport(tokenUrl="auth/jwt/login")
cookie_transport = CookieTransport(cookie_max_age=LIFETIME)
cookie_transport = CookieTransport(
cookie_max_age=LIFETIME, cookie_samesite="lax", cookie_secure=False
)
openid_cookie_transport = RedirectingCookieTransport(cookie_max_age=LIFETIME)
bearer_auth_backend = AuthenticationBackend(