mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-09 16:24:38 +00:00
(fix) google-login auth flow proxy
This commit is contained in:
@@ -2908,10 +2908,10 @@ async def google_callback(code: str):
|
||||
|
||||
key = response["token"] # type: ignore
|
||||
user_id = response["user_id"] # type: ignore
|
||||
{
|
||||
"key": key,
|
||||
"user_id": user_id,
|
||||
}
|
||||
return JSONResponse(
|
||||
content={"key": key, "user_id": user_id}, status_code=200
|
||||
)
|
||||
|
||||
else:
|
||||
# Handle user info retrieval error
|
||||
raise HTTPException(
|
||||
|
||||
Reference in New Issue
Block a user