Oauth SAML断言错误

Oauth SAML断言错误,oauth,cloud,identity,saml,Oauth,Cloud,Identity,Saml,我尝试使用的云服务要求: Enter Attribute containing Login Name . This attribute is used for authentication of end-user. This is the attribute name that maps to the LDAP email address. From the XML meta-data, find: <NameID>user@example.com<NameID>. N

我尝试使用的云服务要求:

Enter Attribute containing Login Name . This attribute is used for authentication of
end-user. This is the attribute name that maps to the LDAP email address. From the XML 
meta-data, find: <NameID>user@example.com<NameID>. NameID is what is to be copied into 
this field. In some cases, this attribute may also be found at <Attribute 
Name"https://schema/xml.soap.org/.....identity/claims/name"> 
<AttributeValue>user@example.com<AttributeValue>.  In these cases, name is the attribute 
value.
输入包含登录名的属性。此属性用于身份验证
最终用户。这是映射到LDAP电子邮件地址的属性名称。从XML
元数据,查找:user@example.com. NameID是要复制到的对象
这个领域。在某些情况下,此属性也可以在以下位置找到:
user@example.com.  在这些情况下,名称是属性
价值

我使用SimpleSAMLPHP作为我的IDP。我到底需要在这里输入什么?

如果您想在NameID字段中设置您的用户ID,您可以查看IdP配置:

特别是
attributes.NameFormat
,它告诉您要使用哪种名称标识符

将其与
userid.attribute
一起使用,在NameID字段中设置特定的属性值


否则,如前所述,如果userid位于其中一个属性中,则需要知道该属性的名称,该名称可以从身份验证源(如LDAP)继承。

发布一个传递给云服务的SAML断言示例。云服务正在查找登录名/用户id,但在您提交给它的SAML断言中找不到它。