The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Gate legacy redirect on authLoading to ensure proxyBaseUrl is resolved
yuneng-jiang2e70c23307d8
diff --git a/ui/litellm-dashboard/src/app/page.tsx b/ui/litellm-dashboard/src/app/page.tsxindex 3aac9621356..03431428add 100644--- a/ui/litellm-dashboard/src/app/page.tsx+++ b/ui/litellm-dashboard/src/app/page.tsx@@ -256,11 +256,11 @@ function CreateKeyPageContent() {// Redirect legacy query-param pages to their new path-based routesconst isLegacyRedirect = page in LEGACY_REDIRECTS;useEffect(() => {- if (isLegacyRedirect) {+ if (!authLoading && isLegacyRedirect) {const base = (proxyBaseUrl || "") + "/ui";router.replace(`${base}/${LEGACY_REDIRECTS[page]}`);}- }, [isLegacyRedirect, page, router]);+ }, [authLoading, isLegacyRedirect, page, router]);// Check for a stored return URL after successful authentication// This handles the case where user comes back from SSO and we need to redirect to the original URL