mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-21 08:15:36 +02:00
fix session cookie not being transmitted when using http instead of https
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user