Versions Compared

Key

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

This page is under construction.

WSO2 products can be configured to authenticate users using their attributes such as email or mobile number instead of the username. This topic provides instructions on how to set up your WSO2 product to authenticate a users by using their email.

The '@' is a special character in usernames of WSO2 usernames products as it is used in multi-tenant environments to build the users user's fully-qualified name. For example, user suresh daniel from the tenant domain WSO2.com has the fully-qualified name suresh@WSO2 daniel@WSO2.com. So before using the email username we need to tell configure the WSO2 products to not confuse with differentiate between the '@' symbol in the user's emails and usernames. For this we need to do a configuration in configure the carbon.xml file.

  1. Open the carbon.xml file in the following path: [PRODUCT_HOME]/repository/conf/carbon.xml
  2. Look for the commented out configuration EnableEmailUserName. Uncomment the configuration to enable email authentication.

    Code Block
    languagehtml/xml
    <EnableEmailUserName>true</EnableEmailUserName>

Now the The next configuration file we are looking at need to modify is the user-mgt.xml which can be found in the path: [PRODUCT_HOME]/repository/conf/user-mgt.xml

...