From 984114adf0b3bc7544da6853c2b0d8476eb67ac2 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 3 Apr 2025 22:13:46 -0700 Subject: [PATCH] fix sso callback --- litellm/proxy/management_endpoints/ui_sso.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/litellm/proxy/management_endpoints/ui_sso.py b/litellm/proxy/management_endpoints/ui_sso.py index 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 Proxy verbose_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