Correct, I was missing the +. It was not immediately obvious for a dev unfamiliar with regex (not my cup of tea) and new to Auth0. Even a regex tester tool doesn’t understand that expression.
The error message is NOT helpful or appropriate and should be changed. This is the first time I’ve ever seen a regex definition in a friggen error message in 20 years of coding. Try using English, such as “The phone number was not valid. Please make sure the number is correct, including country code, and “+” prefix”.
Your feedback was submitted to one of our product teams. Thanks a lot for that! We gather developer community feedback and then appropriate team implements it based on priorities they set for the specific team backlog.
For future reference, if you’d like to share some product feedback with us and get it immediately added to to our product backlog, the easiest way to do it directly is through our feedback site: