(fix) google-login auth flow proxy

This commit is contained in:
ishaan-jaff
2024-01-27 18:18:59 -08:00
parent 4e32c76fa8
commit b28a5cbd0b
+4 -4
View File
@@ -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(