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

    Username as the LoginID for forgot password workflow

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    forgot password loginid data.email username
    2
    4
    2.0k
    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
      david 4
      last edited by

      We will soon be implementing forgot password. Up to now we've never enforced unique email addresses for users, but have username as a unique user loginId. I see in the documentation for forgot password, you can use the username as the loginId instead of email. Has anyone implemented it in this way? How has the experience been? We store our user's emails in a custom attribute data.email which is where we'd send the reset email - can you customize that to include the username? (Assuming two users share the same email address, the reset email would need to specify for which account the email pertains to). Interested to hear if anyone has it implemented this way and how it has worked. 🔒 😊

      mark.robustelliM 1 Reply Last reply Reply Quote 0
      • mark.robustelliM
        mark.robustelli @david 4
        last edited by

        @david-4 You should have have any problem using the loginId. As far as searching the custom attribute data, you should be able to using the APIs if needed. Check out how to search user data attribute here.

        D 1 Reply Last reply Reply Quote 0
        • D
          david 4 @mark.robustelli
          last edited by

          @mark-robustelli Thanks! I've been trying to find customizing (basically equivalent of a merge field) into the Forgot Password email itself. Is the forgot password email customizable? Can you specify the Username in the body of the email? (If one email address is shared among multiple accts, they need to know for which username they're resetting the password)

          mark.robustelliM 1 Reply Last reply Reply Quote 0
          • mark.robustelliM
            mark.robustelli @david 4
            last edited by

            @david-4 , Is this what you are looking for? Using Replacement Variables

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