We have automated tests that run on our sandboxes (not scratch org but traditional sandbox) prior to each release to production. This testing framework includes the generation and use of Salesforce Users, and retrieving the security token is a necessary part of this user generation.
As far as I can find, the only way to retrieve a security token for a newly created user is via the Salesforce UI, meaning we need to manually log in for each created test user and generate an email, which is a painfully slow process.
Is there any way to automate the security token reset process?
I saw @sfdcfox comment on a similar post that 'force:user:password:generate' in SFDX should generate the security token email automatically, but that appears to only work with scratch orgs.