The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fixes - ui login with SSO
Ishaan Jaffb279ba8a91ad
diff --git a/litellm/proxy/management_endpoints/ui_sso.py b/litellm/proxy/management_endpoints/ui_sso.pyindex c48e1c6cc58..3df04b03767 100644--- a/litellm/proxy/management_endpoints/ui_sso.py+++ b/litellm/proxy/management_endpoints/ui_sso.py@@ -168,7 +168,11 @@ async def serve_login_page("""# Get the base URL for form action using proper URL construction- form_action = get_custom_url(request_base_url=str(request.base_url), route="login")+ url_to_redirect_to = os.getenv("PROXY_BASE_URL", "")+ server_root_path = os.getenv("SERVER_ROOT_PATH", "")+ if server_root_path != "":+ url_to_redirect_to += server_root_path+ url_to_redirect_to += "/login"unified_login_html = f"""<!DOCTYPE html>@@ -346,7 +350,7 @@ async def serve_login_page(</style></head><body>- <form action="{form_action}" method="post">+ <form action="{url_to_redirect_to}" method="post"><div class="logo-container"><div class="logo">🚅 LiteLLM