【问题标题】:ADFS 2.0 simpleSAML issue: More than one claim based on SamlNameIdentifierClaimResource was producedADFS 2.0 simpleSAML 问题:产生了多个基于 SamlNameIdentifierClaimResource 的声明
【发布时间】:2013-07-09 08:33:48
【问题描述】:

我正在尝试设置 ADFS 2.0 IDP - simplesaml saml sp 配置,但我被阻止了,即使在官方 adfs 文档中也找不到 ADFS 报告的错误。 我已经成功设置了中继方,从 sp 应用程序我被重定向到 idp,我可以进行身份​​验证,但是在重定向到 sp 时我得到了这个:

The Federation Service could not fulfill the token-issuance request.
More than  one claim based on SamlNameIdentifierClaimResource was produced after the
issuance  transform rules were applies for relying party 'url here'. Please see event  
500 with the same instance id for claims after application of issuance transform rules. 

Additional Data 
Instance id: 44ef5c64-7bcb-4766-9016-75034b4fd7eb 

User Action 
Ensure that the issuance transform rules that are configured for the relying party do not result in multiple claims based on SamlNameIdentifierClaimResource.

还有一个警告:

More information for the event entry with instance id 44ef5c64-7bcb4766-9016-75034b4fd7eb. 
There may be more events with the same instance id with more information. 

Instance id:  
44ef5c64-7bcb-4766-9016-75034b4fd7eb 


Issued identity: 
http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname 
user name i used
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier 
user name i used
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier 
CKTECHNO\user name i used
http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod 
http://schemas.microsoft.com/ws/2008/06/identity/authenticationmethod/windows 
http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationinstant 
2013-07-08T14:30:46.465Z 

这是我的会议:

我搜索了everywe,没有提到这种类型的错误。即使是我似乎在 ms 文档中找不到的 500 事件。 任何帮助是极大的赞赏。谢谢!

【问题讨论】:

    标签: saml saml-2.0 adfs


    【解决方案1】:

    谢谢@nzpcmad,问题确实是默认添加了帐户名称,组也是如此,我创建了两次。没有明确说明这真的很遗憾,因为您无法真正说出情况是否如此。 问题解决了。

    【讨论】:

      【解决方案2】:

      首先,对有据可查的问题 +1。

      我怀疑问题是因为 Windows 帐户名称是内置声明之一。如果删除 sAMAccountName 的映射会发生什么? (即只需转换)。

      此外,使用电子邮件名称更为常见。这是我一直使用的。

      【讨论】:

      • 好吧,我尝试只使用一个活动目录声明,但是导致的名称 ID 没有正确的格式(瞬态),这就是为什么我添加了另一个规则来转换它。据我了解,这应该像链/管道一样工作,每个规则都有一个输入和一个输出,所以最后我只会有一个结果,从规则帐户名称到名称 ID。我错了吗?谢谢!
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-05
      • 1970-01-01
      • 1970-01-01
      • 2012-08-18
      • 2012-10-24
      • 1970-01-01
      相关资源
      最近更新 更多