This can be done only once you have installed the WSO2 Identity Server 5.0.0 along with the Service Pack. If you are using multiple attribute authentication and want to customize the claim to be used for user name attribute, do the following.
Edit the following element in the
This will return the email address of the authenticated user. It can be configured to return any attribute by changing the '