Auth0 Home Blog Docs

Customize the UI of the MFA text page


#1

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.


#2

Ok, I just found this great example : https://github.com/auth0/auth0-guardian.js/tree/master/example

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