Problem statement
We have a fully customized UI for MFA screens and integrate with Guardian JS on the Front End (Install Guardian SDK).
- User Logs in
- User gets the MFA code by SMS and lands on the page to enter the verification code.
- User gets the option to “resend code by sms” or “resend code by email”
a. “resend code by sms” – We are able to achieve this behavior using the guardian library.
b. “resend code by email” – We couldn’t find this support on the guardian library.
Please let us know if there is a way to achieve this functionality as we fully customize MFA screens now.
Guardian JS doesn’t seem to have this option - auth0-guardian.js/lib/auth_strategies at master · auth0/auth0-guardian.js · GitHub
Symptoms
- Looking for a way to resend code by email for guardian JS but the library does not seem to have it: GitHub - auth0/auth0-guardian.js: Client library for Auth0 Guardian
Solution
The resend code by email using Guardian JS is not currently supported. We have a feature request submitted to our engineering teams asking to support the resend code by email using Guardian JS.