sparse-afternoon-2627
02/23/2024, 10:26 PMphone number
and sms
code verification but constantly god error:
credentials.code.via has unknown value "sms"
Did everything according to the doc:
https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#phone-number-verification
My identity schema looks like this:
{
"$id": "<https://schemas.ory.sh/presets/kratos/identity.email.schema.json>",
"title": "Person",
"type": "object",
"properties": {
"traits": {
"type": "object",
"properties": {
"phone": {
"type": "string",
"title": "Phone number",
"format": "tel",
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"password": {
"identifier": true
},
"webauthn": {
"identifier": true
},
"code": {
"via": "sms",
"identifier": true
}
},
"verification": {
"via": "sms"
}
}
}
},
"required": [
"phone"
],
"additionalProperties": false
}
}
}
Is there any issue with the schema? Sorry for such a dumb question, but I am really stuck 😞
Thanks in adnvance!wide-dawn-74672
02/25/2024, 3:59 PMsparse-afternoon-2627
02/25/2024, 9:34 PMstale-summer-35875
02/25/2024, 11:40 PM