How to Find the Users MFA Enrollments in Actions
Feb 20, 2026
Overview
This article describes how to find a user's multifactor authentication (MFA) enrollments in Actions without making a Management API call.
Applies To
- Multifactor Authentication (MFA)
- Enrollments
Solution
2. The user's MFA enrollments are now available with event.user.enrolledFactors in Actions.
exports.onExecutePostLogin = async (event, api) => {
console.log("=================== ENROLLED FACTORS");
console.log(event.user.enrolledFactors);
};