diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.py index eed59664b1..776d700962 100644 --- a/litellm/proxy/utils.py +++ b/litellm/proxy/utils.py @@ -2709,13 +2709,15 @@ def decrypt_value(value: bytes, master_key: str) -> str: # LiteLLM Admin UI - Non SSO Login -html_form = """ +url_to_redirect_to = os.getenv("PROXY_BASE_URL", "") +url_to_redirect_to += "/login" +html_form = f"""