<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007fVLweCAGOkta Classic EngineMulti-Factor AuthenticationAnswered2022-05-25T12:25:10.000Z2022-05-20T18:41:10.000Z2022-05-25T12:25:10.000Z

ElioT.93871 (Customer) asked a question.

MFA Automation reset from Webhook - Workflow JIRA

I want to trigger a webhook from the Jira Workflow to automatically reset MFA (multi factor reset = Okta Verify, Google Auth). Workflow -> JIRA - new issue trigger or JSD - new request, Do I need to create Delete Factor first? https://developer.okta.com/docs/reference/api/factors/*reset-factor. and after ??


  • flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery)

    Hi @ElioT.93871 (Customer)​,

     

    Thank you for posting on the Okta community page!

     

    I have tried to access the article you have provided but unfortunately it re-directs to a 404 page not found message, but I have done some research on my end and managed to find the bellow article about how to reset the MFA through API's:

     

    Based on the above KB article, you have to perform a delete factor in order to reset the MFA of an account since after this is done, at the next login, the user will have to go through the enrolment process again.

     

    If you want to enroll the user again through APIs after your perform the reset of MFA, you can follow the instructions found on the section "Factor LifeCycle Operations" from the documentation provided above.

     

    I hope the above information is useful!

    Expand Post
    • ElioT.93871 (Customer)

      Hi Flaviu,

      If I understand correctly I should first execute:

      1- Reset Factor (DELETE

      / api / v1 / users / $ {userId} / factors / $ {factorId}),

      2 - after Enroll Factor (POST

      / api / v1 / users / $ {userId} / factors)

      3- and finally Activate Factor (POST

      / api / v1 / users / $ {userId} / factors / $ {factorId} / lifecycle / activate).

      Is it right? How do I find the factorId parameter? But what's the difference between doing delete and reset factor?

      Thank you for your time

      Expand Post
This question is closed.
Loading
MFA Automation reset from Webhook - Workflow JIRA