【发布时间】:2019-11-12 17:04:21
【问题描述】:
我在我的开发帐户https://espatialzdenek-dev.onelogin.com 中使用了 SAML 2.0
我可以通过 onelogin 登录。
我唯一的问题是我无法更改/我不知道如何将登录请求中的属性名称从 IDP 更改为 SP。
在我在
部分得到的断言 saml 响应中<saml:AttributeStatement>
例如这个元素
<saml:AttributeStatement>
<saml:Attribute Name="User.FirstName" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">z2</saml:AttributeValue>
</saml:Attribute>
但我需要那里
<saml:AttributeStatement>
<saml:Attribute Name="firstName" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">z2</saml:AttributeValue>
</saml:Attribute>
我需要至少对名字、姓氏和用户分配的安全组进行此更改。
有没有办法在 oneLogin SAML IDP 设置中做到这一点?
【问题讨论】:
标签: onelogin