Customizing the User Registration Form
The user registration form, which is also known as the sign up form, is generated using claims and is primarily used to gather user information which is used by ES. As the information required by business entities differ based on their strategies, WSO2 ES facilitates the option for the administrator to customize the registration form to suite the entities business requirements.
As ES is built on top of WSO2 Carbon, the user registration form is populated by claims which are mapped through WSO2 Carbon. There are several claims configurations in Carbon; however, only the following default Carbon claim dialect is used for self signup (registration) in ES: http://wso2.org/claims
The following screenshot depicts the fields in the default ES user registration form.
Customizing the user registration form
The user registration form can be customized in any of the following methods:
- Adding a new claim mapping
This allows you to add a new field in the user registration form. When adding the claim mapping for the new claim, you need to select the required checkbox, so that the claim will appear as a field in the user registration form. - Editing a claim mapping
If you wish to edit the fields in the user registration form (such as, change the order or a field, hide a field etc.), then you can edit the respective claim mappings, which correspond to those fields in the user registration form. - Deleting a claim mapping
If you do not want a certain field to permanently appear in the user registration form, then can delete the claim mapping that corresponds to that field.
Adding a new claim mapping
Follow the instructions below to add a new claim mapping:
- On the Main menu, click Claim Management.
Click http://wso2.org/claims under AVAILABLE CLAIM DIALECTS.
The claim mappings that correspond to the selected claim dialect appears.
- Click Add New Claim Mapping to add a new claim mapping that does not already exist.
Enter the details required in the NEW CLAIM DETAILS form.
The fields related to claim details are explained as follows:
- Click Add to add the new claim mapping.
Editing a claim mapping
Follow the instructions below to update a claim mapping:
- On the Main menu, click Claim Management.
Click http://wso2.org/claims under AVAILABLE CLAIM DIALECTS. The claim mappings that correspond to the selected claim dialect appears.
Click Edit corresponding to the claim mapping that you want to edit.
- Edit the required fields in the UPDATE CLAIM DETAILS form. Note that the claim Uri can not be updated.Error rendering macro 'excerpt-include' : No location was provided.
- Click Update to save the changes made.
Navigate to the ES Store or Back Office (Publisher) and click Register to access the registration page. Thereafter, refresh the registration page to view the registration form with the newly added customizations.
Deleting a claim mapping
Follow the instructions below to delete a claim mapping:
- On the Main menu, click Claim Management.
Click http://wso2.org/claims under AVAILABLE CLAIM DIALECTS. The claim mappings that correspond to the selected claim dialect appears.
Click Remove claim mapping corresponding to the claim that you want to delete.
- Click yes to delete the selected claim mapping.