late-wire-48468
03/05/2024, 12:25 PMkratos.yml
config file to utilize an SMS gateway. However, when I attempt to create a verification flow using {{kratos_URL}}/self-service/verification/api
, it still returns the email attributes in the UI node. Am I missing something? I want to use phone numbers instead of email.
Here is my schema file:
{
"$id": "<https://schemas.ory.sh/presets/kratos/quickstart/phone-password/identity.schema.json>",
"$schema": "<http://json-schema.org/draft-07/schema#>",
"title": "Person",
"type": "object",
"properties": {
"traits": {
"type": "object",
"properties": {
"name": {
"type": "object",
"required": [
"last",
"first"
],
"properties": {
"first": {
"title": "First Name",
"type": "string"
},
"last": {
"title": "Last Name",
"type": "string"
}
}
},
"phone": {
"type": "string",
"format": "tel",
"title": "Phone number",
"minLength": 3,
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"password": {
"identifier": true
}
},
"verification": {
"via": "sms"
}
}
}
},
"required": [
"phone"
],
"additionalProperties": false
}
}
}
dazzling-napkin-4938
03/06/2024, 3:09 AMlate-wire-48468
03/06/2024, 9:14 AM