Auth0 has a newer set of APIs for managing API documented here which is available in Actions.
api.authentication.enrollWith
api.authentication.enrollWithAny
api.authentication.challengeWith
api.authentication.challengeWithAny
Using these APIs, the flow continues from the next Action available.
With Actions, it is possible to access the user’s MFA status with event.authentication.methods