Triggering SMS Challenge Programmatically

Is there anyway to trigger an SMS challenge programmatically? In other words from my my backend requesting that an SMS code be sent to a given user which can then be validated by my backend? I know I can call https://<tenant>.auth0.com/mfa/challenge, however this requires a mfa_token obtained from a previous mfa_required error.

1 Like

@alex7 Did you solve this problem somehow? So far, I manage to obtain the mfa_token only by calling https://<tenant>.auth0.com/oauth/token/ using Password Grant and user’s email and password. Is there any other way to obtain mfa_token without knowing the password?

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?