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.ts index d18e0c79d..822b80f5e 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', };