User stuck in MFA stage of login if they are unable to pass MFA

Hi all,

One of our engineers was able to develop a solution for this using https://auth0.com/docs/customize/universal-login-pages/universal-login-page-templates page templates.

Give your users the option to switch users by adding a link in the footer to the logout endpoint. This will clear the session.

You can render the link only for the MFA page using a conditional:

    {% if prompt.name contains "mfa"  %} 
    <footer class="footer">
        <ul>
          <li><a href="https://{YOUR_DOMAIN}/v2/logout">Sign in with a different account</a></li>
        </ul>
      </footer>
    {% endif %}

Here’s an example:

1 Like