Add/create custom user profile details to wso2 IS

ⅰ亾dé卋堺 提交于 2019-12-12 09:18:29

问题


I have added a new custom attribute named policyid in claim management(as per the post ), Now i want to add the profile details via SCIM endpoint.I tried with the following curl command..

curl -v -k --user admin:admin --data "{"schemas":[],"name":{"familyName":"gunasinghe","givenName":"hasinitg"},"userName":'jouhar',"password":"password","policyid":"123","emails":[{"primary":true,"value":"hasini_home.com","type":"home"},{"value":"hasini_work.com","type":"work"}]}" --header "Content-Type:application/json" https://example.com:9443/wso2/scim/Users

But its not working...pls help..

**My primary storage changed to JDBC User store.


回答1:


According to the SCIM specification, there are fixed set of default attributes for the user object. This set is defined to ensure the interoperability. Most of time, it can cater to most of the industry's identity management requirements. But according the spec, you can even add custom attributes. It is supported by WSO2IS. But you may need to do some more work. Please refer WSOIS docs for more details from here



来源:https://stackoverflow.com/questions/21729142/add-create-custom-user-profile-details-to-wso2-is

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!