无法连接到SSO IDP
我有一个问题。我们在Symfony 5.4下有一个应用程序,该应用程序通过OnElogInsAmlBundle Bundle提供SAML连接器。 安装此应用程序是不同的客户。 通常,在大多数客户中,当我们连接到他们的IDP时,我们会有这样的答案:
<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
...
<saml:Subject>
...
<saml:AttributeStatement>
<saml:Attribute Name="uid">
<saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">john_doe</saml:AttributeValue>
</saml:Attribute>
我们能够在应用程序中
使用用户名映射属性UID。就是这样:
<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ... >
<Subject>
<NameID>john_doe</NameID>
...
</Subject>
就像在捆绑包中一样,我们有此代码来检验attibute,它不起作用
$ entries = $ this-&gt; _queryAssertion('/saml:attributestatement/saml:attribute':allatibute';
您是否知道是否可以配置AD FS来发送&lt; SAML:属性&gt;
的响应?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了解决方案:
客户添加了索赔规则()带有良好的属性名称,甚至没有XML消息,工作
I find the solution :
customer added a claim rule (https://help.blackboard.com/Learn/Administrator/SaaS/Authentication/Implement_Authentication/SAML_Authentication_Provider_Type/SAML_Setup_Guide_for_ADFS) with the good Attribute Name and even the xml message is without the
saml:
prefix, it worked