square-napkin-92357
05/28/2025, 7:40 AM"phone": {
"type": "string",
"format": "tel",
"title": "Phone number",
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"code": {
"identifier": true,
"via": "sms"
}
}
}
}
and
courier:
channels:
- id: sms
type: http
request_config:
........
but i get error when call self-service/registration?flow=90ef0a1a-6084-42bd-9432-811cddf4d00e
with phone: "+84....."
"messages": [
{
"id": 4000001,
"text": "credentials.code.via has unknown value \"sms\"",
"type": "error",
"context": {
"reason": "credentials.code.via has unknown value \"sms\""
}
}
],
please give me some advices, thank all!