mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
debug show SSO callback result
This commit is contained in:
parent
3d58963c64
commit
8aa2e7db69
1 changed files with 1 additions and 0 deletions
|
@ -494,6 +494,7 @@ async def auth_callback(request: Request): # noqa: PLR0915
|
||||||
redirect_url=redirect_url,
|
redirect_url=redirect_url,
|
||||||
)
|
)
|
||||||
# User is Authe'd in - generate key for the UI to access Proxy
|
# User is Authe'd in - generate key for the UI to access Proxy
|
||||||
|
verbose_proxy_logger.debug(f"SSO callback result: {result}")
|
||||||
user_email: Optional[str] = getattr(result, "email", None)
|
user_email: Optional[str] = getattr(result, "email", None)
|
||||||
user_id: Optional[str] = getattr(result, "id", None) if result is not None else None
|
user_id: Optional[str] = getattr(result, "id", None) if result is not None else None
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue