mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix Google SSO issue with SAML configs when SSO is enforced and not SAML
This commit is contained in:
@@ -92,7 +92,11 @@ export const SelectOrganizationSection = () => {
|
||||
url = `/api/v1/sso/oidc/login?orgSlug=${organization.slug}${
|
||||
callbackPort ? `&callbackPort=${callbackPort}` : ""
|
||||
}`;
|
||||
} else if (organization.orgAuthMethod === AuthMethod.SAML) {
|
||||
} else if (
|
||||
organization.orgAuthMethod === AuthMethod.SAML &&
|
||||
// if google sso is enforced, we don't want to redirect to saml
|
||||
!organization.googleSsoAuthEnforced
|
||||
) {
|
||||
url = `/api/v1/sso/redirect/saml2/organizations/${organization.slug}`;
|
||||
|
||||
if (callbackPort) {
|
||||
|
||||
@@ -204,9 +204,10 @@ export const OrgGeneralAuthSection = ({
|
||||
</OrgPermissionCan>
|
||||
</div>
|
||||
<p className="text-sm text-mineshaft-300">
|
||||
Enforce users to authenticate via Google to access this organization.
|
||||
Enforce users to authenticate via Google OAuth SSO to access this organization.
|
||||
<br />
|
||||
When this is enabled your organization members will only be able to login with Google.
|
||||
When this is enabled your organization members will only be able to login with Google
|
||||
OAuth (not Google SAML).
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user