Action Be Execution After a User Has Successfully Completed an MFA Challenge

Overview

This article explains how an Action can be executed after a user has successfully completed an MFA challenge.

Solution

There are several options to start an MFA challenge. The first two options do not permit executing Actions after a successful MFA challenge.

The third option outlined below allows executing custom code after completing the MFA challenge. For example, if a tenant has three Actions, with the second Action calling the authentication.challengeWithAny API, upon completion of MFA, the flow will continue from the third Action, allowing the execution of further custom code after the MFA step is completed.

  1. MFA enabled from the dashboard.

  2. MFA is started from an Action using the following API.

    api.multifactor.enable

  3. MFA is started from an Action using the following APIs.

    api.authentication.enrollWithAny
    api.authentication.challengeWith
    api.authentication.challengeWithAny