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

    Why does FusionAuth provide 10 recovery codes?

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    2
    4
    745
    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
            • First post
              Last post