# Multiple username alias to login

**URL:** <https://community.auth0.com/t/multiple-username-alias-to-login/75445>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [December 26, 2021, 3:09am UTC](https://community.auth0.com/t/multiple-username-alias-to-login/75445 "2021-12-26T03:09:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikanth.dyapa](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/srikanth.dyapa/32/33891_2.png) [@srikanth.dyapa](https://community.auth0.com/u/srikanth.dyapa)\
**Post date:** [December 26, 2021, 3:09am UTC](https://community.auth0.com/t/multiple-username-alias-to-login/75445/1 "2021-12-26T03:09:33Z")

</div>

We have a requirement to have a user profile with multiple aliases along with username to login. That means user can use alias (can be stored in user metadata) to login. So use can use username/email/alias to login.

How can we implement this & how can we ensure that the alias is unique across the database & username field? I saw this custom database option, but do we need to host our own database, and will there be an option to control this login verification?

---

<div class="post-metadata">

**Author:** ![jeff0](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jeff0/32/30027_2.png) [@jeff0](https://community.auth0.com/u/jeff0)\
**Post date:** [December 26, 2021, 12:13pm UTC](https://community.auth0.com/t/multiple-username-alias-to-login/75445/2 "2021-12-26T12:13:09Z")

</div>

Hi @srikanth.dyapa

Welcome to Auth0 Community !!!

Alias is not supported by Auth0 for login purposes. You can use a username or email to login.

If you would like to use an alias a custom UI + Custom DB would be required. This implementation has many limitations and it defeats the purpose of using Auth0. The use of Custom DB scripts is used as a temporary solution until users are migrated across to Auth0. I would highly recommend reconsidering the use of aliases.

Hope my answer helps

Thank you  
Jeff

---

<div class="post-metadata">

**Author:** ![srikanth.dyapa](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/srikanth.dyapa/32/33891_2.png) [@srikanth.dyapa](https://community.auth0.com/u/srikanth.dyapa)\
**Post date:** [December 27, 2021, 2:04am UTC](https://community.auth0.com/t/multiple-username-alias-to-login/75445/3 "2021-12-27T02:04:22Z")

</div>

Thanks @jeff0 for the clarification, we will rethink about the aliases.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 13, 2022, 8:56pm UTC](https://community.auth0.com/t/multiple-username-alias-to-login/75445/4 "2022-01-13T20:56:42Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
