I have created project in drupal7.37 (url: http://localhost/test/drupal737) and working on hybridauth-7.x-2.14 module. I installed this module with dependency module and library.

I have created application in linkedIn and used Authentication Keys in my drupal admin panel.

But I got the following error;

Exception: Authentication failed! LinkedIn returned an invalid Token. in Hybrid_Auth::initialize() (line 169 of /var/www/test/drupal737/sites/all/libraries/hybridauth/Hybrid/Auth.php).

Please advice me.

put on hold as too broad by kiamlaluno 2 days ago

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


Try following steps:

  1. First login using drupal credentials.
  2. Go to user profile page, click on linkedIn tab.
  3. Now connect to linkedIn using its credentials, and then logout.
  4. Now try login using LinkedIn social media.
  • This error came when anonymous user click on LinkedIn Icon for registration. – Kishor Hase Nov 4 '15 at 8:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.