Overview
This article explains how an Action can be executed after a user has successfully completed a Multi-Factor Authentication (MFA) challenge.
Applies To
- Actions
- Multi-Factor Authentication (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.
- MFA enabled from the dashboard.
- MFA is started from an Action using the following API.
api.multifactor.enable
- MFA is started from an Action using the following APIs.
api.authentication.enrollWith api.authentication.enrollWithAny api.authentication.challengeWith api.authentication.challengeWithAny