oauth/token
endpoint returns the mfa_required
error and includes the mfa_token
you need to use the MFA API and mfa_requirements
parameter with a list of authenticators your application currently supports:
mfa_token
to call the mfa/authenticator
endpoint to list all factors the user has enrolled and match the same type
your application supports. You also need to obtain the matching authenticator_type
to issue challenges:
request/mfa/challenge
endpoint.
Further customize your MFA flow with Auth0 Actions. To learn more, read Actions Triggers: post-challenge - API Object.