我正在尝试让我的ASP.NET MVC应用程序为多个IdPs提供单点登录,我想知道是否可以使用ITfoxtec.SAML2库来支持这个场景。我看到的示例代码似乎支持更传统的one IdP to one SP场景。 此外,如果有人知道非核心的ASP.NET MVC示例应用程序,我将非常感激知道在哪里可以找到它。
ITfoxtec.Saml2用于处理SP上的身份验证。当尝试登录时,将发送有效的post samlResponse。但是在验证响应时,我得到了以下异常。ITfoxtec.Identity.Saml2.Cryptography.InvalidSignatureException: Signature is invalid.
at ITfoxtec.Identity.Saml2"_b8fad14a-506b-4496-aa35-f09c4174e76f" IssueInstant="2021-10-25T12:59
我正在编写一个SAML2服务提供商/依赖方。我的IdP以加密形式(EncryptedAssertion元素)返回断言。ITfoxtec.Identity.Saml2是否支持此断言解密方案?我得到了这个异常: ITfoxtec.Identity.Saml2.Saml2RequestException: There is not exactly one Assertion element.at ITfoxtec.Identity.Saml2.Saml2AuthnResponse.G
我正在尝试使用IdentityServer4和ITfoxtec.Identity.Saml2库实现SAML2.0身份验证。 entityDescriptor.ReadIdPSsoDescriptorFromUrl(new Uri(Configuration["Saml2Exception("IdPSsoDescriptor not loaded from metadata.&quo
我们使用ITfoxtecSAML2库进行单点登录,并对一些外部客户端进行SAML2身份验证。我们希望从数据存储中查找每个客户端的值,然后构建SAML2配置,然后进行绑定。Url.Content("~/") } });
//The bindingResult is a SAML2 redirectBinding - this create a browserredirect to the IDP.该方法是否有效,