Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

restore mfa grant on delete/switch provider

Thiago Araujo da Silva517d8eee07ae
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OIDCModal.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OIDCModal.tsx
index 384fe2f47b..109a37bcdc 100644
--- a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OIDCModal.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OIDCModal.tsx
@@ -171,6 +171,8 @@ export const OIDCModal = ({ popUp, handlePopUpClose, handlePopUpToggle, hideDele
userinfoEndpoint: "",
clientId: "",
clientSecret: "",
+ mfaClaimName: "amr",
+ mfaAmrValues: null,
isActive: false,
organizationId: currentOrg.id
});
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgSsoTab.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgSsoTab.tsx
index d7f888ea79..57cc6de877 100644
--- a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgSsoTab.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgSsoTab.tsx
@@ -298,7 +298,9 @@ export const OrgSsoTab = withPermission(
isActive: false,
entryPoint: "",
issuer: "",
- cert: ""
+ cert: "",
+ mfaSignalAttribute: null,
+ mfaAuthnContexts: null
});
} else if (from === "oidc") {
await updateOidcAsync({
@@ -312,7 +314,9 @@ export const OrgSsoTab = withPermission(
tokenEndpoint: "",
userinfoEndpoint: "",
clientId: "",
- clientSecret: ""
+ clientSecret: "",
+ mfaClaimName: "amr",
+ mfaAmrValues: null
});
} else {
await updateLdapAsync({
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/SSOModal.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/SSOModal.tsx
index 64bc156046..3c48c55ad9 100644
--- a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/SSOModal.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/SSOModal.tsx
@@ -229,7 +229,9 @@ export const SSOModal = ({ popUp, handlePopUpClose, handlePopUpToggle, hideDelet
isActive: false,
entryPoint: "",
issuer: "",
- cert: ""
+ cert: "",
+ mfaSignalAttribute: null,
+ mfaAuthnContexts: null
});
createNotification({