【发布时间】:2017-01-04 00:17:45
【问题描述】:
当我询问用户 WSO2 的信息时,响应中只包含他的子用户。
Request GET https://srv-wso2.domain.com:9443/oauth2/userinfo?schema=openid
Request headers {Accept=[application/json, application/*+json], Authorization=[Bearer 50ff3e7940248bdc01e2c1d33de77537], Content-Length=[0]}
Response body {"sub":"RECIF/arnaud@carbon.super"}
在 repository/conf/identity/identity.xml 文件中,OpenIdConnect 被配置为使用 http://wso2.org/claims 作为 UserInfoEndpointClaimDialect。
我使用 Active Directory 作为用户存储。 在声明配置中,一些映射应该被点击,例如 displayName 或 givenName 或 fullname。
有什么想法吗?
编辑:playground2 应用程序也有同样的问题。 我使用 WSO2 5.1.0
【问题讨论】:
标签: wso2 wso2is claims-based-identity openid-connect