This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Adding New Claim Mapping

The following dialects are defined by default with the WSO2 Claim Management Component.

  • http://wso2.org/claims - Default dialect for WSO2 Carbon
  • http://axschema.org - Default dialect for OpenID Attribute Exchange
  • http://schema.openid.net/2007/05/claims - Default dialect for OpenID Simple Registration

You can add new claim mapping to an existing claim dialect.

  1. Sign in to the management console by entering your username and password.
  2. Click the Configure button to access the Configure menu.
  3. In the Configure menu, select Claim Management.
  4. Click on any available dialect link.
  5. Click on the Add New Claim Mapping link.
  6. Enter the required information:

    • Display Name - Name of the claim displayed on the UI.
    • Description - Describes the functionality of the claim.
    • Claim Uri - URI defined under the dialect, specific to the claim.
    • Mapped Attribute - Corresponding attribute name from the underlying user store.
    • Regular Expression - Regular expression to validate inputs.
    • Display Order - Display order of the claim among the other claims defined under the same dialect.
    • Supported by Default - If unchecked, this claim will not be prompted during user registration.

      You will not be able to select the Supported by Default option when you add the claim due to a known issue, which will be fixed in future releases. However, you can select the option by editing the claim after adding it.

    • Required - Whether this claim is required for user registration.
  7. Click on the Add button.
  8. A new claim mapping is displayed in the list.