Skip to content

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

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.ts
index 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.tsx
index 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}`;