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

    Want to enable Login via OTP (no password)

    Scheduled Pinned Locked Moved Solved
    Q&A
    2
    4
    1.3k
    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.
    • M
      mark.shapiro
      last edited by

      Basically I want the functionality of using MFA with SMS, but not actually have them enter a password. Steps would look like:

      1. User enters Username
      2. They are texted a code
      3. They enter code on new page
      4. Get a JWT and enter the application.

      We would build the UI for this but trying to figure out which APIs would be involved.
      This exists, but it requires a password on the request. I think I need to make a call that generates a changePasswordId request, is that the Start Reset Flow and then I pass that to the above generation?

      As mentioned, we can handle:

      1. Capture the username
      2. Do things to generate a code
      3. Send code via SMS on our end
      4. Capture the code (as entered by the user)
      5. Make a Login call back to FA for token
      6. Use app

      I'm just not 100% which to use on step 2.

      M 1 Reply Last reply Reply Quote 0
      • M
        mark.shapiro @mark.shapiro
        last edited by

        Think I may have gotten this sorted out (closed the other post I found on this)

        1. use /api/passwordless/start to get a code
          -- Send Code externally --
        2. call /api/passwordless/login after user enters code to get JWT
          -- Do stuff in app --

        seems like it should work

        M 1 Reply Last reply Reply Quote 0
        • M
          mark.shapiro @mark.shapiro
          last edited by

          Found it for reference https://github.com/FusionAuth/fusionauth-issues/issues/615

          mark.robustelliM 1 Reply Last reply Reply Quote 1
          • mark.robustelliM
            mark.robustelli @mark.shapiro
            last edited by

            @mark-shapiro Thanks for sharing with the community.

            1 Reply Last reply Reply Quote 0
            • M mark.shapiro has marked this topic as solved on
            • First post
              Last post