fancy-evening-36350
03/26/2024, 5:12 PMemail
and a phoneNumber
. Both can be verified through a verification
flow, but when I request a new verification flow through the API endpoint, I can only submit the email
to verify, but not the phoneNumber
. It's really important for me to verify the phoneNumber
otherwise I can't use it for MFA.
I've tried to add some query params like https://{project}.<http://projects.oryapis.com/self-service/verification/browser?via=phoneNumber|projects.oryapis.com/self-service/verification/browser?via=phoneNumber>
but it does not seem to work... Here is the form I see. Do you know how I can fix it ?fancy-evening-36350
03/26/2024, 5:12 PM{
"$schema": "<http://json-schema.org/draft-07/schema#>",
"$id": "<https://schemas.ory.sh/presets/kratos/identity.email.schema.json>",
"title": "Person",
"type": "object",
"properties": {
"traits": {
"type": "object",
"properties": {
"first_name": {
"title": "First Name",
"type": "string"
},
"last_name": {
"title": "Last Name",
"type": "string"
},
"email": {
"type": "string",
"format": "email",
"title": "E-Mail",
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"password": {
"identifier": true
},
"webauthn": {
"identifier": true
},
"totp": {
"account_name": true
}
},
"recovery": {
"via": "email"
},
"verification": {
"via": "email"
}
},
"maxLength": 320
},
"phoneNumber": {
"type": "string",
"format": "tel",
"title": "Phone Number",
"<http://ory.sh/kratos|ory.sh/kratos>": {
"verification": {
"via": "sms"
}
}
}
},
"required": [
"first_name",
"last_name",
"email"
],
"additionalProperties": false
}
}
}