Skip to content

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

improvements: address feedback

Scott Wilson05705c815329
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgGeneralAuthSection.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgGeneralAuthSection.tsx
index d82ec8105c..c4172189d5 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");
+ handlePopUpOpen("upgradePlan", { featureName: "enforce SAML SSO" });
return;
}
@@ -160,7 +160,7 @@ export const OrgGeneralAuthSection = ({
if (type === EnforceAuthType.GOOGLE) {
if (!subscription?.enforceGoogleSSO) {
- handlePopUpOpen("upgradePlan");
+ handlePopUpOpen("upgradePlan", { featureName: "enforce Google OAuth" });
return;
}
@@ -182,7 +182,7 @@ export const OrgGeneralAuthSection = ({
});
} else if (type === EnforceAuthType.OIDC) {
if (!subscription?.oidcSSO) {
- handlePopUpOpen("upgradePlan");
+ handlePopUpOpen("upgradePlan", { featureName: "OIDC SSO", isEnterpriseFeature: true });
return;
}
@@ -212,7 +212,7 @@ export const OrgGeneralAuthSection = ({
try {
if (!currentOrg?.id) return;
if (!subscription?.samlSSO) {
- handlePopUpOpen("upgradePlan");
+ handlePopUpOpen("upgradePlan", { featureName: "Admin SSO Bypass" });
return;
}
@@ -380,7 +380,8 @@ export const OrgGeneralAuthSection = ({
<UpgradePlanModal
isOpen={popUp.upgradePlan.isOpen}
onOpenChange={(isOpen) => handlePopUpToggle("upgradePlan", isOpen)}
- text="Your current plan does not include access to enforce SAML SSO. To unlock this feature, please upgrade to Infisical Pro plan."
+ 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}
/>
<Dialog