2

I'm using WSO2 v5.7, I added a custom claims namely "status" through Local claims and added a respective External claims too.

Local Claim: enter image description here

External Claim: enter image description here

WSO2 IS Portal: Shows the newly added claim namely Status enter image description here

I triggered the SCIM2 End point https://localhost:9443/scim2/Users/ee02b02a-f601-4d7c-a34b-767a7bb4521f

enter image description here

But the newly created claims was missing in the response JSON data.I update the value for the said claim through WSO2 IS portal and its stored the value in the database table um_user_attribute as a key value pair.

Kindly assist me how to expose the locally created claims in SCIM2 endpoints.

Community
  • 1
  • 1
B.Balamanigandan
  • 4,713
  • 11
  • 68
  • 130

1 Answers1

2

Just adding claim configuration is not enough to get custom claim. You have to add them to SCIM 2.0 User schema by modifying scim2-schema-extension.config please refer [1] for exact steps given for SCIM 1.1

[1] https://docs.wso2.com/display/IS570/Extensible+SCIM+User+Schemas+With+WSO2+Identity+Server

Gayan
  • 779
  • 3
  • 8
  • Could you please assist me, how to pass values for those claims while on Create user end point? – B.Balamanigandan Mar 12 '19 at 14:52
  • "EnterpriseUser":{"department":"xxx","costCenter":"yyy"} how ever attributes depends on how you define attributes in scim2-schema-extension.config. I would suggest you to go to bottom of scim2-schema-extension.config and understand the structure first. – Gayan Mar 12 '19 at 15:26
  • what about with scim 2 how this link help me with scim2 – ankalal Sep 09 '19 at 10:33
  • I have added on both places for wso2 5.6 still can't get the required custom values. – Asad Shakeel May 18 '20 at 11:24