Monday, January 26, 2015

Email based login for tenants - For WSO2 Carbon based Products.

This simple blog post explains how to configure WSO2 Carbon based servers to support email authentication for tenants.

e.g :  If the tenant domain is pavithra.com and if the email user name of the tenant user is pavithra@wso2.com, then "pavithra@wso2.com@pavithra.com" should be able to login to management console of WSO2 products

1) To support email authentication, enable following property in user-mgt.xml (CARBON_HOME/repository/conf)


2) Change following two properties in primary user store manager


3) Remove following property


After this configuration, tenants will be able to login with email attribute (email@tenantDomain)

e.g : pavithra@wso2.com@pavithra.com

References :

https://wso2.org/jira/browse/IDENTITY-1766

3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. "EnableEmailUserName" property is in carbon.xml not in user-mgt.xml

    ReplyDelete
  3. Hi Pavithra,

    I guess the heading should be changed from "WSO2 Carbon based Products" to "WSO2 Identity Server" since the properties you are specifying here are not available in default JDBC user store of WSO2 products other than IS.

    WDYT ?

    Thanks
    shammi

    ReplyDelete