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

    two factor enable not working

    Scheduled Pinned Locked Moved
    General Discussion
    0
    4
    365
    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.
    • R
      ravi.arsida
      last edited by ravi.arsida

      I am using a two-factor API to enable two factor. API working fine in another server. for the production server it was working fine but currently, it's stopped working. I don't understand why it stopped working. I also check API permission and API key it's all are correct.

      I used the post method for the below API.

      api/user/two-factor/
      
      1 Reply Last reply Reply Quote 0
      • D
        dipesh.soni
        last edited by dipesh.soni

        Also the user registered from the Web of FusionAuth is not working with the code scanned by Google Authenticator App and giving Invalid code and 421 in API response.
        Even nothing generating in Logs,Event Log and Audit Log.
        We're not able to debug the issues as it is not working on our production server but working fine on our testing server.
        Other APIs like Login,Import and Delete User are working fine.
        2FAIssues.PNG
        We're looking for a hope here as it seems a deadend for us.
        Also what to do if such issues occurs again.
        Hoping for a positive reply.

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

          Have you checked that the time on the server is correct? This form of 2fa is time based and incorrect system clocks may cause this issue.

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

          D 1 Reply Last reply Reply Quote 1
          • D
            dipesh.soni @dan
            last edited by

            @dan Thanks it worked !

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