我有一个在WSO2 Identity Server 5.0.0中运行的自定义UserStoreManager作为辅助用户存储 . 它非常适合用户身份验证 . 将其与OpenID Connect身份验证一起使用时,预期的声明不会在 /userinfo?schema=openid 请求的响应中返回给客户端 . 登录自定义UserStoreManager会显示使用以下声明名称调用getUserPropertyValues()方法:
["postalcode", "mail", "localityName", "sn", "cn", "nickName", "telephoneNumber", "gender", "givenName", "url", "country"]
对 /userinfo 请求的响应实际上仅返回该列表中的声明 . 无法获得其他索赔 .
我不明白的是这个列表的来源 . 配置的声明映射为“http://wso2.org/oidc/claim " defines for example " postalcode " as "默认支持= false " and "必需= false ". So I don't expect it to be in the list. On the other hand claim " sub " (or the name it is mapped to: " uid ") is not in the list, but its definition in dialect " http://wso2.org/oidc/claim”是
索赔Uri:sub
Mapped Attribute(s):uid
默认支持:true
必填: true
在哪里可以定义应该由/ userinfo?schema = openid请求为成功通过身份验证的用户返回的声明列表?