From 4fb1a53172471bc71609438c06b9398c34dc6512 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 9 Apr 2025 10:09:59 -0700 Subject: [PATCH] fix linting error --- litellm/proxy/management_endpoints/ui_sso.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/litellm/proxy/management_endpoints/ui_sso.py b/litellm/proxy/management_endpoints/ui_sso.py index fea931fc35f..c9388bc4eb8 100644 --- a/litellm/proxy/management_endpoints/ui_sso.py +++ b/litellm/proxy/management_endpoints/ui_sso.py @@ -802,6 +802,9 @@ class SSOAuthenticationHandler: uuid.uuid4().hex ) # set state param for okta - required return await generic_sso.get_login_redirect(**redirect_params) # type: ignore + raise ValueError( + "Unknown SSO provider. Please setup SSO with client IDs https://docs.litellm.ai/docs/proxy/admin_ui_sso" + ) @staticmethod def should_use_sso_handler(