__jono
11/14/2023, 10:49 PMcreateCodePOST
override function.
We can see in the dashboard a phone number saved as +640223334444 on a user. Which is set by updateUser
.
The issue is when we post a phone number to /auth/signinup/code
(+640223334444) the phone number provided from the createCodePOST argument input is +64223334444 (missing the zero after the country code). We are using this input phone number to search to see if any users have the phone number attached to their user, if so let them sign in, else require them to sign up via email.
Because the input has the 0 stripped off, the listUsersByAccountInfo is retuning no users.
Is the stripping of the 0 in the createCodePOST intentionally or a bug? If intentional, how come the updateUser
doesn't format the phoneNumber the same?
Thanksrp_st
11/15/2023, 5:58 AMrp_st
11/15/2023, 5:59 AMankucodes
11/15/2023, 7:59 AM__jono
11/16/2023, 4:33 AMrp_st
11/20/2023, 2:51 PM7.0
- you have to repull the latest image). If using our managed service, and the core is on version 7, then we will auto update for you.