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
show sso settings on ui
Ishaan Jaffe35aa444c3a3
diff --git a/ui/litellm-dashboard/src/components/SSOSettings.tsx b/ui/litellm-dashboard/src/components/SSOSettings.tsxindex eda3884bf9a..d9ef73f9a32 100644--- a/ui/litellm-dashboard/src/components/SSOSettings.tsx+++ b/ui/litellm-dashboard/src/components/SSOSettings.tsx@@ -8,6 +8,7 @@ import { getModelDisplayName } from "./key_team_helpers/fetch_available_models_tinterface SSOSettingsProps {accessToken: string | null;possibleUIRoles?: Record<string, Record<string, string>> | null;+ userID?: string;}const SSOSettings: React.FC<SSOSettingsProps> = ({ accessToken, possibleUIRoles }) => {@@ -72,7 +73,7 @@ const SSOSettings: React.FC<SSOSettingsProps> = ({ accessToken, possibleUIRoles};const handleTextInputChange = (key: string, value: any) => {- setEditedValues(prev => ({+ setEditedValues((prev: Record<string, any>) => ({...prev,[key]: value}));diff --git a/ui/litellm-dashboard/src/components/view_users.tsx b/ui/litellm-dashboard/src/components/view_users.tsxindex e728c481cdb..d776cae2be0 100644--- a/ui/litellm-dashboard/src/components/view_users.tsx+++ b/ui/litellm-dashboard/src/components/view_users.tsx@@ -348,7 +348,7 @@ const ViewUserDashboard: React.FC<ViewUserDashboardProps> = ({</TabPanel><TabPanel>- <SSOSettings accessToken={accessToken} possibleUIRoles={possibleUIRoles} />+ <SSOSettings accessToken={accessToken} possibleUIRoles={possibleUIRoles} userID={userID}/></TabPanel></TabPanels></TabGroup>