We are using scratch orgs for automated testing. The challenge here is with every newly created scratch org, on first login you are presented with the "Register Your Mobile Phone" modal, that you need to click 'I dont want to register my mobile phone'
I am trying to find a way to disable this from appearing at all but it seems all new scratch orgs have "Enable the SMS method of identity verification" (under Security > Session Settings) enabled by default.
In the Scratch Org definition file I have tried including the following setting and it did not disbale the "Enable SMS" setting.
"securitySettings": {
"sessionSettings": {
"enableSMSIdentity": false
}
Is there another setting that should be set?