From 505987d15a0505c96e5da9f263c2eae104de7b45 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 3 Mar 2025 18:38:34 -0800 Subject: [PATCH] fix ui session handling --- litellm/proxy/management_helpers/ui_session_handler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/proxy/management_helpers/ui_session_handler.py b/litellm/proxy/management_helpers/ui_session_handler.py index 9a74c52828..47e81b40e1 100644 --- a/litellm/proxy/management_helpers/ui_session_handler.py +++ b/litellm/proxy/management_helpers/ui_session_handler.py @@ -13,6 +13,8 @@ class UISessionHandler: key=UISessionHandler._generate_token_name(), value=jwt_token, secure=True, + httponly=True, + samesite="strict", ) return redirect_response