Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

feat(settings): restore Single Sign-On section in Settings → Security (#1510)

Brad Barbina5f81398ba93
diff --git a/apps/erp/app/routes/x+/settings+/security.tsx b/apps/erp/app/routes/x+/settings+/security.tsx
index 61a60f9b25..5ead05e20d 100644
--- a/apps/erp/app/routes/x+/settings+/security.tsx
+++ b/apps/erp/app/routes/x+/settings+/security.tsx
@@ -338,10 +338,6 @@ function SsoDomainRow({
);
}
-// Temporarily hide the Single Sign-On section from Settings → Security.
-// Set to true to restore it — the loader, action, and SSO UI remain intact.
-const SHOW_SSO_SETTINGS = false;
-
export default function Security() {
const { ssoEnabled, connection, domains, acsUrl, metadataUrl } =
useLoaderData<typeof loader>();
@@ -465,7 +461,7 @@ export default function Security() {
twoFactorCard
)}
- {SHOW_SSO_SETTINGS && ssoEnabled && (
+ {ssoEnabled && (
<>
<div className="flex items-end justify-between gap-4 w-full">
<div className="flex flex-col gap-1">