Create user with phone field to use sms

You cannot add a phone_number root attribute to a username/password connection. You need to create a user with "connection":"sms" to make it possible to authenticate via phone number OR create a user with email/password.

You can use account linking to connect the two accounts in different connections: