thedevdojo / auth

This is the repo for the DevDojo Auth package
https://devdojo.com/auth
MIT License
384 stars 28 forks source link

Disable basic auth - just keep social providers #69

Open Mgldvd opened 2 weeks ago

Mgldvd commented 2 weeks ago

Describe the solution you'd like the option to disable the basic authentication with email and password. just login with the social providers without having to make a modification to the code.

Once activated, of course, the option to register is also deactivated. #41

image

tnylea commented 2 weeks ago

Yeah, so you want to disable user registration via email, correct? I think this is a good idea. So, essentially, you only want users to authenticate via the social provider.

I was thinking that this will be a main setting on the settings page. Where you toggle disable_registration_via_email. However, it might be good to still allow users to login with an email and password. After they authenticate via a social network they might be able to go to their profile page and add a password. This would then allow them to login via email and password.

Let me know your thoughts and if that sounds good to you :)