
vf1cl (vf1cl) asked a question.
We are trying to implement automated tests that required users to be authenticated with Okta.
Our security team will not allow creating an account without mfa like this was suggested here:
Could you please point me to some documentation that explains in basic terms how can I set up such automation ?

It is too bad that your security team will not allow you to isolate the test accounts in a group so you can avoid MFA for testing as suggested in the posts you mentioned. The only thing I have found that might work but have never implemented myself is the use of a custom TOTP. The first link below talks about setting a custom TOTP in Okta and the second link, while not Okta specific, will give you an idea of the general concept of using a TOTP in test automations.
Best of luck and if you get this to work or discover it to be a dead end it would be great if you could share your experience with the rest of the Okta Community by responding to this post or opening a new one.
Hi Matthew,
Thanks for your response. I've managed to make it work using TOTP and Playwright.
I've described the solution here with the code snippets examples so it may be helpful for others to automate it.
Great article that I will share with other developers!
Thank you🙂