This documentation is for WSO2 Identity Server 5.2.0 . View documentation for the latest release.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Login to WSO2 Identity Server using your credentials.
  2. Go to the Main menu in the Management Console menu and click List under Claims.
  3. Select urn:scim:schemas:core:1.0 from the list.
  4. Choose the Id claim and click on Edit.
  5. Change the Mapped Attribute value to homePostalAddress and click Update.
  6. Edit the other four claims in the same way.
  7. Now the basic claim mapping is done. You can now add a user using the following curl command.

    Localtab Group
    Localtab
    activetrue
    titlePrimary Userstore Command
    Code Block
    curl -v -k --user admin:admin --data "{"schemas":[],"userName":"john","password":"[email protected]"}" --header "Content-Type:application/json" https://localhost:9443/wso2/scim/Users
    Localtab
    titleSecondary Userstore Command
    Code Block
    curl -v -k --user admin:admin --data "{"schemas":[],"userName":'mysqlwso2.com/uresh67',"password":"[email protected]"}" --header "Content-Type:application/json" https://localhost:9443/wso2/scim/Users

    Note that the user name is preceded by the domain and is within single quotes 'mysqlwso2.com/uresh67'. Also note that 'mysqlwso2.com' here is a reference to a domain name.

    In RestClient, the following header parameters must be added and the double quotations must be removed from the message body.

    Panel

    Content-Type: application/json
    Accept: */*
    Message body
    {schemas:[],userName:'mysqlwso2.com/uresh67',password:[email protected]}

    Info

    You need to do the claim mapping for every SCIM claim you are using with user operations.