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
fix sso callback
Ishaan Jaff984114adf0b3
diff --git a/litellm/proxy/management_endpoints/ui_sso.py b/litellm/proxy/management_endpoints/ui_sso.pyindex 4282a449413..5ffb951e89b 100644--- a/litellm/proxy/management_endpoints/ui_sso.py+++ b/litellm/proxy/management_endpoints/ui_sso.py@@ -502,8 +502,6 @@ async def auth_callback(request: Request): # noqa: PLR0915)# User is Authe'd in - generate key for the UI to access Proxyverbose_proxy_logger.debug(f"SSO callback result: {result}")- result = cast(CustomOpenID, result)- result.team_ids = jwt_handler.get_team_ids_from_jwt(cast(dict, result))user_email: Optional[str] = getattr(result, "email", None)user_id: Optional[str] = getattr(result, "id", None) if result is not None else None