diff --git a/ui/litellm-dashboard/src/components/admins.tsx b/ui/litellm-dashboard/src/components/admins.tsx index cff4ca2b87..7424874fb6 100644 --- a/ui/litellm-dashboard/src/components/admins.tsx +++ b/ui/litellm-dashboard/src/components/admins.tsx @@ -27,6 +27,7 @@ import { Col, Text, Grid, + Callout, } from "@tremor/react"; import { PencilAltIcon } from "@heroicons/react/outline"; interface AdminPanelProps { @@ -60,6 +61,13 @@ const AdminPanel: React.FC = ({ const [isAddSSOModalVisible, setIsAddSSOModalVisible] = useState(false); const [isInstructionsModalVisible, setIsInstructionsModalVisible] = useState(false); + let nonSssoUrl; + try { + nonSssoUrl = window.location.origin; + } catch (error) { + nonSssoUrl = ''; + } + const handleAddSSOOk = () => { setIsAddSSOModalVisible(false); @@ -504,6 +512,9 @@ const handleInstructionsCancel = () => { + + If you need to login without sso, you can access {nonSssoUrl}/fallback/login + );