Login identifier as either username or email

We currently are set up to utilize email as the login identifier and that works. We are expecting to roll out a new social component to our web app and would like to utilize the username field in order to not require users to make their email public. Is it possible to have the login page work with either email or username being typed into the identifier page:

Hi @bwarner

Yes this works: Adding Username for Database Connections

However, I would suggest keeping email address as the identifier used for login, but adding a field “display user name” to your user record for displaying in your social component. Having a username AND an email is added complexity, it is there primarily for importing from legacy systems using username instead of email. Instead, keep it simple with just email, but let the user choose a display name for the social component.


1 Like

Thanks John, this is very helpful.