Bring back SSO routes in a way that doesn't break other integration sub-routes, always show EUA SSO settings (#35321)

More fixes for #34525. Found another bug while clicking around, which
I'll file as an unreleased.

# Checklist for submitter

## Testing

- [x] QA'd all new/changed functionality manually
This commit is contained in:
Ian Littman 2025-11-06 17:38:11 -06:00 committed by GitHub
parent 8bb68bf938
commit 0aec72aed2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 5 deletions

View file

@ -33,7 +33,11 @@ const IntegrationsPage = ({
const { renderFlash } = useContext(NotificationContext);
const { isPremiumTier } = useContext(AppContext);
const { section, subsection } = params;
let { section } = params;
const { subsection } = params;
if (!section && !!subsection) {
section = "sso";
}
const [isUpdatingSettings, setIsUpdatingSettings] = useState(false);
// // // settings that live under the integrations page

View file

@ -202,10 +202,6 @@ const EndUserAuthSection = ({
);
};
if (!config?.mdm.apple_bm_enabled_and_configured) {
return null;
}
return <div className={baseClass}>{renderContent()}</div>;
};

View file

@ -202,6 +202,10 @@ const routes = (
path="integrations/:section"
component={AdminIntegrationsPage}
/>
<Route
path="integrations/sso/:subsection"
component={AdminIntegrationsPage}
/>
<Route component={ExcludeInSandboxRoutes}>
<Route path="users" component={AdminUserManagementPage} />
</Route>