Automated Front End testing + Auth0 MFA

Howdy!

My team is trying to figure out best ways to work with Auth0 MFA and automated testing. The basic use case would be selenium automation kicks in a test, creates a user and the regular rules flow sets enable_mfa to true for that user metadata, a number is put in and then the code is entered for successful authentication. We want to automate the number + code input part without human intervention. Has anyone come across this problem or is there some auth0 way to go about it?

Hello @anja, did you ever find a solution for this?

Hey there!

I’m not sure if our testing tips cover that but maybe some of them will guide you in the right way:

Hi there,
On our case we had the same problem and we ended up using a third party service allowing to retrieve and automate SMS-based MFA codes. We tried multiple services such as quackr.io but the one that ended up working and was privacy-friendly was GetMyMFA.