Adfs Saml请求通过Passport-saml失败

时间:2013-05-30 13:15:20

标签: saml passport.js adfs adfs2.0

当我从ADFS2.0服务器请求令牌时,为我的nodejs应用程序使用了passport-saml。我可以使用我的有效用户名和密码登录到服务器,登录后收到错误页面

 There was a problem accessing the site. Try to browse to the site again.
 If the problem persists, contact the administrator of this site and provide the reference                     
 number to identify the problem.
 Reference number: 321b1aac-fea7-4ae4-8e07-665c343903fa
Adfs事件查看器上显示

错误

 The request specified an assertion consumer service  that is not  configured or not   
 supported on the relying party 'https://sample.company.com'. 
 Request parameters: '', 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST','https://sample.company.com' 
 Relying party: https://sample.company.com 

 This request failed. 

我在网上搜索但尚未找到确切的答案,我不知道如何为属性上的端点选项卡配置信赖方信任。我必须提供什么网址,是否有任何我需要做的事情来处理来自ADFS的SAML请求和响应。

提前致谢。

1 个答案:

答案 0 :(得分:2)

好像您还没有在ADFS依赖方上配置AssertionConsumerURL。这是在ADFS上 - >依赖方 - >端点。

你也可以试试这个包

https://github.com/auth0/passport-wsfed-saml2

相关问题