Hey guys, question. I'm trying to make my registra...
# ory-selfhosting
t
Hey guys, question. I'm trying to make my registration send sms to their registered phone number. I haven't picked any sms gateway yet but just wondering if there's a documentation on how to include sms validation on registration?
m
Hm I am not sure, my hunch is you can do this in the identity schema (I suppose the phone number will be one of the identities traits?). Here is some documentation on validation: https://www.ory.sh/docs/kratos/self-service/flows/user-registration#registration-form-validation
t
Will take a look at it. And yes, the phone number and the country code of the phone number is in identity traits.