The user registration form also known as the sign up form is primarily used to gather information of users using a given service or product. The information required by business entities will differ based on their strategies. WSO2 ES facilitates the option for the administrator to customize the registration form to suite the entities business requirements.
The ES is built on top of WSO2 Carbon. The user registration form is populated by claims which is configured through WSO2 Carbon.
By default the ES user registration form includes the fields shown below.
Follow the instructions below to customize the user registration form:
Login to the Carbon management console using admin:admin as the username:password.
URL format https://<ES_HOST>:<ES_HTTPS_PORT>/carbon
Description By default,
<ES_HOST>
is localhost. However, if you are using a public IP, the respective IP address or domain needs to be specified.
By default,<ES_HTTPS_PORT>
has been set to 9443. However, if the port offset has been incremented by n, the default port value needs to be incremented by n.Example https://localhost:9443/carbon - Click Configure. By default you are directed to the configure section.
- Click Claim Management
Click http://wso2.org/claims under AVAILABLE CLAIM DIALECTS.
In WSO2 ES the http://wso2.org/claims is used to configure the registration form and it is the default dialect being used by WSO2 Carbon.
- Working with claims:
- Add a new claim:
- Click Add New Claim Mapping to add a new claim that is not already added.
- Update the required fields.
- Click Add to add the new claim.
- Add or remove a claim from the registration form:
- Click Edit next to the on a preferred claim you wish to add or remove.
- Check the Required check box to get the respective field on the registration form.
Uncheck the Required check box to remove the respective field from the registration form.
Example:
Currently The filed named country is not on the registration form. Therefore by checking the required checkbox it will be included in the registration form. - Click Update to save the changes made.
- Add a new claim:
- Once the above steps have been followed navigate to the ES store front or back office (publisher) registeration page. Refresh the page and the changes made will be visible.