Tuesday, February 2, 2016

Drupal 7 Hybridauth Issue Authentication failed! Facebook returned an invalid user id

If you run Drupal 7 with Hybridauth module on a HTTPS website and you encounter this Facebook issue about invalid user. Regarding Hybridauth version 2.14:

You have to edit the base_facebook.php and change "return http" to "return https" for the gethttpprotocol() function to enforce https use in case the detection for https doesn't work on your server.

You are welcome

No comments:

Post a Comment