Skip to content

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

fix copy on plan type for enforce sso and enforce mfa

Thiago Araujo da Silva3571b7d03287
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgSecurityTab/OrgGenericAuthSection.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgSecurityTab/OrgGenericAuthSection.tsx
index e757aca3dd..4a2f923b32 100644
--- a/frontend/src/pages/organization/SettingsPage/components/OrgSecurityTab/OrgGenericAuthSection.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/OrgSecurityTab/OrgGenericAuthSection.tsx
@@ -140,7 +140,7 @@ export const OrgGenericAuthSection = () => {
<UpgradePlanModal
isOpen={popUp.upgradePlan.isOpen}
onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
- text="Your current plan does not include access to enforce user MFA. To unlock this feature, please upgrade to Infisical Pro plan."
+ text="Your current plan does not include access to enforce user MFA. To unlock this feature, please upgrade to Infisical Advanced plan."
/>
</>
);
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgGeneralAuthSection.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgGeneralAuthSection.tsx
index 044ef49094..2ed32df2d9 100644
--- a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgGeneralAuthSection.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgGeneralAuthSection.tsx
@@ -135,7 +135,7 @@ export const OrgGeneralAuthSection = ({
if (type === EnforceAuthType.SAML) {
if (!subscription?.samlSSO) {
- handlePopUpOpen("upgradePlan", { featureName: "enforce SAML SSO" });
+ handlePopUpOpen("upgradePlan", { featureName: "enforce SAML SSO", planName: "Pro" });
return;
}
@@ -160,7 +160,10 @@ export const OrgGeneralAuthSection = ({
if (type === EnforceAuthType.GOOGLE) {
if (!subscription?.enforceGoogleSSO) {
- handlePopUpOpen("upgradePlan", { featureName: "enforce Google OAuth" });
+ handlePopUpOpen("upgradePlan", {
+ featureName: "enforce Google OAuth",
+ planName: "Advanced"
+ });
return;
}
@@ -182,7 +185,7 @@ export const OrgGeneralAuthSection = ({
});
} else if (type === EnforceAuthType.OIDC) {
if (!subscription?.oidcSSO) {
- handlePopUpOpen("upgradePlan", { featureName: "OIDC SSO", isEnterpriseFeature: true });
+ handlePopUpOpen("upgradePlan", { featureName: "OIDC SSO", planName: "Enterprise" });
return;
}
@@ -212,7 +215,7 @@ export const OrgGeneralAuthSection = ({
try {
if (!currentOrg?.id) return;
if (!subscription?.samlSSO) {
- handlePopUpOpen("upgradePlan", { featureName: "Admin SSO Bypass" });
+ handlePopUpOpen("upgradePlan", { featureName: "Admin SSO Bypass", planName: "Pro" });
return;
}
@@ -386,8 +389,7 @@ export const OrgGeneralAuthSection = ({
<UpgradePlanModal
isOpen={popUp.upgradePlan.isOpen}
onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
- text={`Your current plan does not include access to ${popUp.upgradePlan.data?.featureName ?? "enforce SAML SSO"}. To unlock this feature, please upgrade to Infisical ${popUp.upgradePlan.data?.isEnterpriseFeature ? "Enterprise" : "Pro"} plan.`}
- isEnterpriseFeature={popUp.upgradePlan.data?.isEnterpriseFeature}
+ text={`Your current plan does not include access to ${popUp.upgradePlan.data?.featureName ?? "enforce SAML SSO"}. To unlock this feature, please upgrade to Infisical ${popUp.upgradePlan.data?.planName ?? "Pro"} plan.`}
/>
<Dialog