Passing custom query params to MFA Page


We have implemented MFA with fully customized page. As per this link we get only these values to the custom MFA Page: Customize MFA with Classic Universal Login (, friendlyUserId, tenant, tenantFriendlyName, iconUrl).

We are trying to identify the application that is trying to perform MFA so we can customize the UX based on the application through which the user is logging in. This doesn’t seem to be available on the MFA page.

We tried redirecting manually on Auth0 Rules using below approach but Auth0 appended state param is not getting recognized and we get redirected to an error page.

context.redirect = {
  url: `https://${context.request.hostname}/mf?application=MY_APP`

Has anyone able to resolve passing custom query params to MFA Page? Please let me know.