diff --git a/litellm/proxy/management_endpoints/ui_sso.py b/litellm/proxy/management_endpoints/ui_sso.py index d35e65be9bb..76761d49360 100644 --- a/litellm/proxy/management_endpoints/ui_sso.py +++ b/litellm/proxy/management_endpoints/ui_sso.py @@ -1313,9 +1313,7 @@ async def auth_callback(request: Request, state: Optional[str] = None): # noqa: if oauth_error: oauth_error_detail = f"OAuth error: {oauth_error}" if oauth_error_description: - oauth_error_detail += ( - f", error_description: {oauth_error_description}" - ) + oauth_error_detail += f", error_description: {oauth_error_description}" raise HTTPException( status_code=400, detail=oauth_error_detail,