Skip to main content Join us at TDX in San Francisco or on Salesforce+ on March 5-6 for the Developer Conference for the AI Agent Era. Register now.

I'm curious how to deal with MFA when it is mandatory regarding automated tests that log into the Salesforce UI. 

 

We have a huge library of cucumber/selenium tests that we run against dev orgs.  They currently use username/password to log in to the various orgs.  Obviously, it is impractical to use something like a cellphone app to have someone confirm the logins.  These tests will run for hours and log in 100s of times.

 

Anyone know how to deal with MFA when automated programs will log into the UI?

7 comments
  1. Jan 22, 8:18 PM

    I also want to understand this situation but as per my understanding. We can get the token id from the user using a third party tool where the token id gets generated and entered the user token in the required field to match it.  

     

    Let me know if I need to understand it in different way. 

     

0/9000