It is imperative that on signup, we collect a valid telephone number. Client-side validation is insufficient.
I’ve tried to implement as a rule a validation step, but understand that the rules do not run on sign up, only on login.
So - how can I validate user_metadata, and return an error in the API when it fails?
Thanks.