Skip to content

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

Revert audience change for azure saml

Tuan Dang4f26a7cad344
diff --git a/backend/src/utils/auth.ts b/backend/src/utils/auth.ts
index 7d30e4a1a3..2a85bc96ca 100644
--- a/backend/src/utils/auth.ts
+++ b/backend/src/utils/auth.ts
@@ -317,7 +317,6 @@ const initializePassport = async () => {
if (ssoConfig.authProvider.toString() === AuthMethod.AZURE_SAML.toString()) {
samlConfig.wantAuthnResponseSigned = false;
- samlConfig.audience = `spn:${await getSiteURL()}`;
}
req.ssoConfig = ssoConfig;