mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
fix sso callback
This commit is contained in:
parent
f1bc99a137
commit
984114adf0
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue