FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Can I have users login with either a username and email address, or do I have to pick one or the other?

    Scheduled Pinned Locked Moved
    Q&A
    login username email
    1
    5
    3.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danD
      dan
      last edited by

      Can I set up a user to have a username test and an email address test@example.com and login with either? Or are they mutually exclusive?

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 1
      • danD
        dan
        last edited by

        In this situation, the user can login with either their username test or their email address test@example.com (as long as they use the correct password for the account, of course).

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 1
        • T
          titogarrido
          last edited by titogarrido

          Same question here... for me it does not make sense it being mutually exclusive... When I setup "username" as a login option it doesn't ask for the email...

          1 Reply Last reply Reply Quote 0
          • danD
            dan
            last edited by

            @titogarrido I don't understand your question. Can you explain what you are asking further?

            Thanks!

            --
            FusionAuth - Auth for devs, built by devs.
            https://fusionauth.io

            T 1 Reply Last reply Reply Quote 0
            • T
              titogarrido @dan
              last edited by

              @dan I was trying to use the standard register interface from fusion. If I check that I want to use "username" for example, the registration form removes the email option. To circumvent and get both email and username I had to create my own register form.

              1 Reply Last reply Reply Quote 1
              • First post
                Last post