express-stormpath icon indicating copy to clipboard operation
express-stormpath copied to clipboard

Social-only login/registration

Open deg opened this issue 9 years ago • 1 comments

My app's workflow wants users to login only via social login; not by creating an app-specific password.

Therefore, I'd like the login form to appear with only the social login options visible. It does not look like you currently support this option (unless I've missed something?)

I've hacked this to work by creating a custom view based on your standard view. But, this requires copying and maintaining a lot of code for a trivial change.

It looks like a better solution would be to pass in an option, maybe web.login.socialOnly. Would this be generally useful? Something you can/will do? Or better for me to create a pull request? (if the latter... I'm happy to do so, but probably not immediately... I'll have some learning curve in your code and my current custom view is good enough to hold me for a little while).

deg avatar Jun 20 '16 07:06 deg

Hmm, I think this is a cool feature request, although it will require a very different view to look decent.

mdeggies avatar Jun 21 '16 18:06 mdeggies