Auth0 Home Blog Docs

Customize the UI of the MFA text page


Hello everyone,
I would like to customise the MFA page, I know I can customise the page, but not the widget.

I’ve started with a rule which redirect the user to a page, and from there I make a call to my backend and send a challenge, but I’m experiencing 2 issues.

  1. I need the user password to get the mfa_token
  2. Even if I put the password, I get an error: Redirection is not available on /oauth/token endpoint.

Can someone help me on it please ?
Or maybe there is a better way to achieve what I want to do ?

Thank you very much.


Ok, I just found this great example :

I’m just curious by the message : Redirection is not available on /oauth/token endpoint.