Skip to main content
Submits an MFA code to complete the enrollment process. On success, the MFA configuration is persisted to the end user. For TOTP, this validates the code from the user’s authenticator app. For SMS, this validates the code received via text message.

Parameters

Returns

Promise<SubmitMfaEnrollmentResult> The result containing the updated user.

Example