Enable Facebook Authentication

Permalink
I feel like I'm missing something that should be really obvious. I'm working on a project where enabling registration/login through Facebook/Twitter/Google might be a nice usability improvement. However, when I started poking at the login page I saw all the code for it is already there! That was a nice surprise.

I've added my Key&Secret to the Facebook Authentication Type and it is working if I go to /login/facebook. However, it would be good if the main login page listed all the available types so I go to modify the login page and again I find support for that already built in. Awesome! ... but it isn't working :(

Looking through the code the issue seems to be is a DB flag 'authTypeIsEnabled' that is set to false. Where is the interface to set that flag?

I see all the code to enable/taggle that flag exists in the Concrete\Core\Authentication\AuthenticationType class. However, as near as I can tell that code is never actually called anywhere in the dashboard.

Like I said I'm sure I'm missing something really obvious here ...

JeffPaetkau
 
JeffPaetkau replied on at Permalink Reply
JeffPaetkau
FYI it started working when I manually toggled the flag in the DB