I’m trying to see if there is a clean and easy way to create my own custom MFA screens after an embedded login using the auth0-js library instead of using the Auth0 Universal Login MFA screens.
I have found this documentation here: https://auth0.com/docs/mfa/customize-mfa-user-pages?_ga=2.265275343.1160420087.1597613199-737993181.1596659177#use-a-custom-mfa-service
However it suggests using the ROPF in order to accomplish this which would require the work to take place in a backend service and would require both the client_secret and the users password to be sent over the wire to the application which I would prefer not doing if possible.
Is there another easier way to accomplish this at all using either of the js libraries?
For some additional information, the reason I need custom MFA screens is that although I have multiple MFA options enabled in my tenant, only certain factors should be available for certain users (eg. Email should be optionally displayed), and I would like users to land on the ‘try a different method’ screen before being automatically sent an MFA code to their previously selected option.