We have several sites that use Hybridauth for Google, LinkedIn, and Facebook authentication. We've been very happy with that and the users _much_ prefer to sign in using their existing social media accounts instead with usernames and passwords.

Although I can get Hybridauth set up with OA to associate the social media profiles with the user profiles, the login page/block/panel seems to be immutable and unable to display the Hybridauth widgets on the login form. Hybridauth usually does this sort of thing with through a preference setting and hook_form_alter().

I've tried to reconfigure the Panelizer pages to show the new widgets but so far no joy.

Any tips on where to get started?

Comments

chuntley’s picture

Issue summary: View changes
chuntley’s picture

I eventually got it working. The problem was with Hybridauth. ;-)

chuntley’s picture

Status: Active » Closed (works as designed)
mirjispoortiupenn’s picture

Hi,
I am trying Facebook login through hybridauth module. I want to rewrite the login rule. Just before user logs in, I want the existing Drupal user to enter his drupal uname and password and map the Facebook third party ID to the Drupal uname and log user in to his drupal account. I do not not want to create a new user with user's facebook uname and password but map Facebook id to existing Drupal's uname. Can I trigger a Drupal module to do this just before Facebook users is logged into his account?

Thanks,