mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
(fix) google-login auth flow proxy
This commit is contained in:
parent
180a1a7f9c
commit
a7bbc0de0f
1 changed files with 4 additions and 4 deletions
|
@ -2912,10 +2912,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
Add a link
Reference in a new issue