mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
Merge branch 'main' into main
This commit is contained in:
commit
a92461caa5
2 changed files with 13 additions and 3 deletions
|
@ -2859,6 +2859,7 @@ async def user_auth(request: Request):
|
|||
|
||||
@app.get("/google-login/key/generate", tags=["experimental"])
|
||||
async def google_login(request: Request):
|
||||
|
||||
GOOGLE_REDIRECT_URI = os.getenv("GOOGLE_REDIRECT_URI")
|
||||
GOOGLE_CLIENT_ID = (
|
||||
"246483686424-clje5sggkjma26ilktj6qssakqhoon0m.apps.googleusercontent.com"
|
||||
|
@ -2870,7 +2871,6 @@ async def google_login(request: Request):
|
|||
@app.get("/google-callback", tags=["experimental"], response_model=GenerateKeyResponse)
|
||||
async def google_callback(code: str, request: Request):
|
||||
import httpx
|
||||
|
||||
GOOGLE_REDIRECT_URI = os.getenv("GOOGLE_REDIRECT_URI")
|
||||
GOOGLE_CLIENT_ID = (
|
||||
"246483686424-clje5sggkjma26ilktj6qssakqhoon0m.apps.googleusercontent.com"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue