title: WSO2 IS: How to use email AND username as login
body: <p>I have a WSO2 IS server running with a ReadOnly LDAP user store. Some of the users in that store have an email as username, by default these users cannot login in applications using the IS's oauth2 endpoint. If I follow the instructions here [1] I can make them login without problems, but the rest of users, those without email as username, are no longer allowed to login.</p>
  
  <p>So, my question, is it possible to allow users with AND without email as username to log in an app connected to WSO2 IS through oauth2?</p>
  
  <p>Thanks a lot, cheers</p>
  
  <p>[1] <a href="https://docs.wso2.org/display/IS460/Email+Authentication" rel="nofollow">https://docs.wso2.org/display/IS460/Email+Authentication</a></p>