Idea: Login/register with OTP-phone number & email

Being able to create login/register forms with phone number and email will be so helpful for most sites
Email is not used in every country but phone number is

Also being able redirect each user role to dynamic pages

What do you think about this idea?