简体   繁体   English

WSO2 Identity Server添加其他用户属性

[英]WSO2 Identity Server Adding additional user properties

I am using WSO2 Idenity server to keep my users to application. 我正在使用WSO2 Idenity服务器将用户保留在应用程序中。 Now client asked me to keep some more information associated with his user profile.Like Age , District , Location etc... How can i add more additional custom user properties to WSO2? 现在客户要求我保留一些与他的用户个人资料相关的更多信息。例如年龄,地区,位置等...如何向WSO2添加更多其他自定义用户属性?

You can do it by adding custom claims in identity server and mapping them to the attributes in underlying userstore. 您可以通过在身份服务器中添加自定义声明并将它们映射到基础用户存储中的属性来实现。 Refer the doc here on how to do that. 请参阅此处的文档,了解如何执行此操作。

The Age attribute should be handled specially because it changes by time. 年龄属性应特别处理,因为它会随时间变化。 Extending userstore manager as in here would be an option for such attributes 扩展userstore经理在这里将是此类属性的选项

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM