mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
(fix) google-login auth flow proxy
This commit is contained in:
parent
4e32c76fa8
commit
b28a5cbd0b
1 changed files with 4 additions and 4 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue