How can I create an authentication provider?

I want to make a “phone authentication provider”, is there some tutorial about how to make my custom provider?

We have information for this here: Roles & Permissions - Strapi Developer Documentation


What I did is a little bit different, I override the Auth controller and change the if(provider == ‘local’) … else … statement to id(provider == ‘local’) … else if ( provider == ‘phone’ )
… else …