mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix linting error
This commit is contained in:
parent
6ef3434be4
commit
4fb1a53172
1 changed files with 3 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue