Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix(auth): standardize SSO enforcement error messages formatting
Victor Hugo dos Santos8c561c72b698
diff --git a/frontend/src/pages/auth/SelectOrgPage/SelectOrg.utils.ts b/frontend/src/pages/auth/SelectOrgPage/SelectOrg.utils.tsindex c4632f3430..72dd0acc65 100644--- a/frontend/src/pages/auth/SelectOrgPage/SelectOrg.utils.ts+++ b/frontend/src/pages/auth/SelectOrgPage/SelectOrg.utils.ts@@ -10,9 +10,9 @@ type TOrgSsoEnforcement = {};const SSO_ENFORCEMENT_ERRORS = {- google: `This organization requires Google login. Log out, then choose "Continue with Google".`,- oidc: `This organization requires OIDC login. Log out, then choose "Continue with OIDC" and enter your work email.`,- saml: `This organization requires SAML login. Log out, then choose "Continue with SAML" and enter your work email.`+ google: 'This organization requires Google login. Log out, then choose "Continue with Google".',+ oidc: 'This organization requires OIDC login. Log out, then choose "Continue with OIDC" and enter your work email.',+ saml: 'This organization requires SAML login. Log out, then choose "Continue with SAML" and enter your work email.'} as const;// User-facing error when the org enforces an SSO method the session token wasn't issued by,