• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
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.
  • D
    dan
    last edited by 12 Aug 2020, 15:58

    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
    • D
      dan
      last edited by 12 Aug 2020, 15:59

      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 12 Jul 2020, 18:24 7 Dec 2020, 18:23

        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
        • D
          dan
          last edited by 9 Dec 2020, 02:56

          @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 9 Dec 2020, 12:22 Reply Quote 0
          • T
            titogarrido @dan
            last edited by 9 Dec 2020, 12:22

            @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