Auth0 Home Blog Docs

Username aliases



Does Auth0 support username aliases? Sorry I couldn’t find it from docs / search. Essentially I want to create a user account and have multiple emails / phone numbers set for the account and any of them should be able to be used as username. Wonder if this is possible directly in Auth0?


Auth0 does support account linking. Basically, within the user profile, you’ll have an identities array with the specific information from the several identity providers. As an example, after linking a google account with an sms account, it would look like:

      "provider": "google-oauth2",
      "user_id": "115015401343387192604",
      "connection": "google-oauth2",
      "isSocial": true
      "profileData": {
          "phone_number": "+14258831929",
          "phone_verified": true,
          "name": "+14258831929"
      "user_id": "560ebaeef609ee1adaa7c551",
      "provider": "sms",
      "connection": "sms",
      "isSocial": false

And both would share the same user profile. You can read more about it here: