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

    Why does FusionAuth provide 10 recovery codes?

    Scheduled Pinned Locked Moved Unsolved Q&A
    4 Posts 2 Posters 2.7k Views
    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.
    • S
      stephen
      last edited by

      Many systems, along with FusionAuth, provide 10 recovery codes. Once one is used, they are all reset, so why provide 10 of them?

      I can see one reason being storing them in multiple places, but you could just store the same one in multiple places. I'm trying to determine if I should show all 10 to the user, or if a single one makes the most sense. Does anyone have any thoughts or opinions on this?

      joshuaJ 1 Reply Last reply
      Reply Quote 0
      • joshuaJ
        joshua @stephen
        last edited by

        @stephen

        These are usually one time use codes. So you have ten chances to use them, in the case of MFA, for instance, that would be 10 times to login if your SMS provider was down, for instance.

        Maybe I am missing your use case?

        Thanks,
        Josh

        S 1 Reply Last reply
        Reply Quote 0
        • S
          stephen @joshua
          last edited by

          @Joshua

          Thanks for the explanation.

          In our system, we only present recovery codes as a way to disable two-factor and reset it back up, not as a mechanism to bypass it temporarily.

          This provides a solution for the following use cases:

          • A user loses access to their device that has their authenticator app on it
          • A user has to switch phone numbers or loses access to their phone number
          joshuaJ 1 Reply Last reply
          Reply Quote 0
          • joshuaJ
            joshua @stephen
            last edited by

            @stephen

            I think that makes sense to me. I would have to test this to fully ensure I remember the flow, but displaying 1 or two codes might be fine.

            Thanks
            Josh

            1 Reply Last reply
            Reply Quote 0
            • danD dan moved this topic from Q&A on
            • danD dan moved this topic from Frequently Asked Questions (FAQ) on

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post