mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
Update proxy_server.py
This commit is contained in:
parent
be13d94ef5
commit
b522edcdf1
1 changed files with 2 additions and 0 deletions
|
|
@ -2862,6 +2862,8 @@ async def google_login(request: Request):
|
|||
scheme = request.url.scheme
|
||||
host = request.url.hostname
|
||||
port = request.url.port or 4000
|
||||
if "localhost" not in host:
|
||||
scheme = "https"
|
||||
GOOGLE_REDIRECT_URI = f"{scheme}://{host}:{port}/google-callback"
|
||||
GOOGLE_CLIENT_ID = (
|
||||
"246483686424-clje5sggkjma26ilktj6qssakqhoon0m.apps.googleusercontent.com"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue