chore(auth): update SAML strategy configuration (#9829)
Added `disableRequestedAuthnContext` flag to SAML auth strategy to align with compatibility requirements. Adjustments ensure seamless integration with certain Identity Providers. No functional impact on existing flows.
This commit is contained in:
@ -36,9 +36,10 @@ export class SamlAuthStrategy extends PassportStrategy(
|
|||||||
issuer: this.sSOService.buildIssuerURL(identityProvider),
|
issuer: this.sSOService.buildIssuerURL(identityProvider),
|
||||||
callbackUrl: this.sSOService.buildCallbackUrl(identityProvider),
|
callbackUrl: this.sSOService.buildCallbackUrl(identityProvider),
|
||||||
idpCert: identityProvider.certificate,
|
idpCert: identityProvider.certificate,
|
||||||
wantAssertionsSigned: false,
|
|
||||||
// TODO: Improve the feature by sign the response
|
// TODO: Improve the feature by sign the response
|
||||||
|
wantAssertionsSigned: false,
|
||||||
wantAuthnResponseSigned: false,
|
wantAuthnResponseSigned: false,
|
||||||
|
disableRequestedAuthnContext: true,
|
||||||
signatureAlgorithm: 'sha256',
|
signatureAlgorithm: 'sha256',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user