From d8690e50ea3f823904258686faa2e7a31bc23729 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Sat, 27 Jan 2024 16:26:12 -0800 Subject: [PATCH] Update proxy_server.py --- litellm/proxy/proxy_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index d54eb3990..125701528 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -2864,7 +2864,7 @@ async def google_login(request: Request): port = request.url.port or 4000 if "localhost" not in host: scheme = "https" - GOOGLE_REDIRECT_URI = f"{scheme}://{host}:{port}/google-callback" + GOOGLE_REDIRECT_URI = f"https://litellm-production-7002.up.railway.app/google-callback" GOOGLE_CLIENT_ID = ( "246483686424-clje5sggkjma26ilktj6qssakqhoon0m.apps.googleusercontent.com" ) @@ -2882,7 +2882,7 @@ async def google_callback(code: str, request: Request): if "localhost" not in host: scheme = "https" - GOOGLE_REDIRECT_URI = f"{scheme}://{host}:{port}/google-callback" + GOOGLE_REDIRECT_URI = f"https://litellm-production-7002.up.railway.app/google-callback" GOOGLE_CLIENT_ID = ( "246483686424-clje5sggkjma26ilktj6qssakqhoon0m.apps.googleusercontent.com" )