I have configured password less login using both email and sms. I have followed thru this guide Passwordless Authentication with SMS and also the Using Passwordless APIs documentation.
I use postman to call the API https://abc.au.auth0.com/passwordless/start
Content-Type: application/json
Body: {
“client_id”: “00999uj3q098dfkhjvdfrYyAmjm”,
“client_secret”: “3VMQZVkT7264riuhnfvhdfvLwyEy”,
“connection”: “email”,
“phone_number”: “abc@mail.com”,
“send”: “code”
}
and I am able to receive the correct verification like 123456 in the email inbox.
However, when I switch to send SMS OTP and change the body like below:
{
“client_id”: “00999uj3q098dfkhjvdfrYyAmjm”,
“client_secret”: “3VMQZVkT7264riuhnfvhdfvLwyEy”,
“connection”: “sms”,
“phone_number”: “+61889908554”,
“send”: “code”
}
I am able to receive the SMS in my phone. However, the verification code is @@password@@ instead of 6 digits number.
I really have no idea what I miss configuring. I have successfully link my Twilio account in my Auth0.
Please help on this issue I am facing. Thanks!