是否可以使用 ITfoxtec.Identity.Saml2 从 IdP SAML 元数据中收集 SignatureMethod?

Is it possible to gather the SignatureMethod from the IdP SAML metadata using ITfoxtec.Identity.Saml2?

使用 ITfoxtec.Identity.Saml2 是否可以通过 IdP 提供的元数据自动收集 Saml2Configuration.SignatureAlgorithm 属性?

看下面两个例子,SignatureMethod是可用的,但是在EntityDescriptor中好像没有引用,重点是EntityDescriptor。

Sha1 示例

Sha256 示例

谢谢

没有。 SAML 2.0 元数据中未公开签名算法。您必须询问 IdP。