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.

fix(settings): hide SSO section in Settings → Security for now (#1507)

Brad Barbin93e7c40f34fb
diff --git a/apps/erp/app/routes/x+/settings+/security.tsx b/apps/erp/app/routes/x+/settings+/security.tsx
index 841f3fa1ff..6d7675d21a 100644
--- a/apps/erp/app/routes/x+/settings+/security.tsx
+++ b/apps/erp/app/routes/x+/settings+/security.tsx
@@ -338,6 +338,10 @@ 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>();
@@ -450,7 +454,7 @@ export default function Security() {
twoFactorCard
)}
- {ssoEnabled && (
+ {SHOW_SSO_SETTINGS && ssoEnabled && (
<>
<div className="flex items-end justify-between gap-4 w-full">
<div className="flex flex-col gap-1">