FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. andrei.gabreanu
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    andrei.gabreanu

    @andrei.gabreanu

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    andrei.gabreanu Unfollow Follow

    Latest posts made by andrei.gabreanu

    • Cannot activate 2FA via "api/user/two-factor" after user with no MFA logins & force MFA policy

      Hello,

      I am new to FusionAuth (it's really great!) and I've checked the docs for the API and I can't seem to figure out how to implement the flow for forced MFA activation for a new user.

      1. We have the Login API which returns a twoFactorId if the login policy for MFA is set to "force". At this point we don't have an authentication JWT token nor the user id.

      2. The activate 2fa API which receives the twoFactorId (from 1?) seems to need the user id in the URL or the authentication token. But at this stage we don't have either.

      A workaround for now is to disable the force policy and enforce it from the integrator client application, by checking if the active MFA devices list is empty.

      Any ideea what the correct sequence of API calls should be done?

      posted in General Discussion
      A
      andrei.gabreanu