首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用PingIdentity作为IDP的SAML SSO

使用PingIdentity作为IDP的SAML SSO
EN

Stack Overflow用户
提问于 2021-10-06 14:38:44
回答 1查看 55关注 0票数 1

我正在尝试将SAML sso与pingone (pingone)和组件空间SAML库一起使用。目前,我要启动单点登录的是

代码语言:javascript
复制
 SAMLIdentityProvider.InitiateSSO(
                Response,
                "testuser", //username
                attributes,
                "https://sso.connect.pingidentity.com/sso/sp/initsso?saasid=xxxx-xxxx-xxxx-xxxx-xxxx&idpid=xxxx",
                "PingConnect"
            );

当它运行时,它在中继状态下返回一个错误。我已经知道我没有中继状态可用,但是我不确定在哪里指定我的pingone web门户的初始化单点登录(SSO) URL (代码中的sso.connect url )。这是我第一次使用SAML和组件空间做SSO,所以我完全迷失了方向。

我的XML服务提供程序就是这样设置的。

代码语言:javascript
复制
<PartnerServiceProvider Name="PingConnect"
        WantAuthnRequestSigned="false"
        SignSAMLResponse="true"
        SignAssertion="false"
        EncryptAssertion="false"
        AssertionConsumerServiceUrl="https://sso.connect.pingidentity.com/sso/sp/ACS.saml2"
        SingleLogoutServiceUrl="http://localhost:50839/"
        PartnerCertificateFile="sp.cer"
  SignatureMethod="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
EN

回答 1

Stack Overflow用户

发布于 2021-10-06 20:51:39

只是确认一下,PingIdentity是身份提供者,而您的应用程序是服务提供者?假设是这样,您应该调用SAMLServiceProvider.InitiateSSO,并且您应该有一个PartnerIdentityProvider而不是一个PartnerServiceProvider配置。

你看过PingOne Integration Guide了吗?本文描述了PingOne上的配置和您的应用程序。

如果您需要进一步的帮助,我建议您发送电子邮件给ComponentSpace支持。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69467796

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档