Skip to content

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

auto select bypass enabled in case of enforce sso

Thiago Araujo da Silvaf37813c7e7b2
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgGeneralAuthSection.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgGeneralAuthSection.tsx
index c75ecaded7..5adba81837 100644
--- a/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgGeneralAuthSection.tsx
+++ b/frontend/src/pages/organization/SettingsPage/components/OrgSsoTab/OrgGeneralAuthSection.tsx
@@ -140,7 +140,7 @@ export const OrgGeneralAuthSection = ({
}
if (value) {
- setBypassEnabledInModal(currentOrg?.bypassOrgAuthEnabled ?? false);
+ setBypassEnabledInModal(true);
setEnforcementTypeInModal(EnforceAuthType.SAML);
handlePopUpOpen("enforceSamlSsoConfirmation");
return;
@@ -165,7 +165,7 @@ export const OrgGeneralAuthSection = ({
}
if (value) {
- setBypassEnabledInModal(currentOrg?.bypassOrgAuthEnabled ?? false);
+ setBypassEnabledInModal(true);
setEnforcementTypeInModal(EnforceAuthType.GOOGLE);
handlePopUpOpen("enforceSamlSsoConfirmation");
return;