From 4f26a7cad3449965f7c50ac42d39d7c4eae54727 Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Tue, 17 Oct 2023 15:50:31 +0100 Subject: [PATCH] Revert audience change for azure saml --- backend/src/utils/auth.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/utils/auth.ts b/backend/src/utils/auth.ts index 7d30e4a1a..2a85bc96c 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;