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): add missing GOOGLE_SAML auth method and include in SAML guard
Igor Correabebc7756460c
diff --git a/frontend/src/hooks/api/users/types.ts b/frontend/src/hooks/api/users/types.tsindex 727fafbf69..7f9105852d 100644--- a/frontend/src/hooks/api/users/types.ts+++ b/frontend/src/hooks/api/users/types.ts@@ -10,6 +10,7 @@ export enum AuthMethod {AZURE_SAML = "azure-saml",JUMPCLOUD_SAML = "jumpcloud-saml",KEYCLOAK_SAML = "keycloak-saml",+ GOOGLE_SAML = "google-saml",LDAP = "ldap",OIDC = "oidc",SAML = "saml"diff --git a/frontend/src/pages/auth/SelectOrgPage/SelectOrgSection.tsx b/frontend/src/pages/auth/SelectOrgPage/SelectOrgSection.tsxindex 5b1b0732cd..acc0df0c9c 100644--- a/frontend/src/pages/auth/SelectOrgPage/SelectOrgSection.tsx+++ b/frontend/src/pages/auth/SelectOrgPage/SelectOrgSection.tsx@@ -147,7 +147,8 @@ export const SelectOrganizationSection = () => {AuthMethod.OKTA_SAML,AuthMethod.AZURE_SAML,AuthMethod.JUMPCLOUD_SAML,- AuthMethod.KEYCLOAK_SAML+ AuthMethod.KEYCLOAK_SAML,+ AuthMethod.GOOGLE_SAML];if (!samlAuthMethods.includes(authToken.authMethod)) {url = `/api/v1/sso/redirect/saml2/organizations/${organization.slug}`;