The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
chore(auth): update SAML strategy configuration (#9829)
Antoine Moreauxf23de2fa223d
diff --git a/packages/twenty-server/src/engine/core-modules/auth/strategies/saml.auth.strategy.ts b/packages/twenty-server/src/engine/core-modules/auth/strategies/saml.auth.strategy.tsindex d18e0c79d18..822b80f5ef3 100644--- a/packages/twenty-server/src/engine/core-modules/auth/strategies/saml.auth.strategy.ts+++ b/packages/twenty-server/src/engine/core-modules/auth/strategies/saml.auth.strategy.ts@@ -36,9 +36,10 @@ export class SamlAuthStrategy extends PassportStrategy(issuer: this.sSOService.buildIssuerURL(identityProvider),callbackUrl: this.sSOService.buildCallbackUrl(identityProvider),idpCert: identityProvider.certificate,- wantAssertionsSigned: false,// TODO: Improve the feature by sign the response+ wantAssertionsSigned: false,wantAuthnResponseSigned: false,+ disableRequestedAuthnContext: true,signatureAlgorithm: 'sha256',};