Registering users without email address

I am using users-permissions plugin, and I can’t find a way to register users without email. Is it possible to achieve with a custom auth provider? If yes, could you please point me in the direction of the documentation describing how to create a custom auth provider?

Here is an article that you can start with Add a Custom OAuth2/OpenID Connect Provider to Strapi v4