AamAadmiParty / cleansweep

Volunteer & Campaign Management System
Other
40 stars 21 forks source link

Show only the configured login providers #166

Open anandology opened 8 years ago

anandology commented 8 years ago

We are show all Google, FB, MS login buttons even if the client id and secret for them are not added to the config. It should be changed to display the login button of a login provider only if that settings are available in the config.

The settings are:

GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET

FACEBOOK_CLIENT_ID
FACEBOOK_CLIENT_SECRET

MICROSOFT_CLIENT_ID
MICROSOFT_CLIENT_SECRET
anandology commented 8 years ago

Looks like the default configuration provides all these settings and there is no way to delete them. May be we should delete FB and MS from default config.