Adapter capabilities

 User authentication YES
 User profile YES
 Update status YES
 Access provider API YES

Adapter specifications

 ID LinkedIn
 Protocol OAuth 2
 Keys registration
 Dev documentation
 Wrapper ./Hybrid/Providers/LinkedIn.php
Callback URL

Configuration & Usage

    $config = array(
      "base_url" => "",
      "providers" => array(
        "LinkedIn"  => array(
          "enabled" => true,
          "keys"    => array("id" => "PUT_YOURS_HERE", "secret" => "PUT_YOURS_HERE"),
          "scope"   => array("r_liteprofile", "r_emailaddress", "w_member_social"), // optional


    $hybridauth = new Hybrid_Auth($config);

    $adapter = $hybridauth->authenticate("LinkedIn");

    $user_profile = $adapter->getUserProfile();

    $status = $adapter->setUserStatus("Check out!", $user_profile->identifier);

For LinkedIn you can configure several extra options:

  • scope: An array of permissions you want to request from the user. Possible values: "r_liteprofile", "r_emailaddress", "w_member_social".

Registering application

  1. Go to and create a new application by clicking "Create Application".
  2. Fill out any required fields such as the application name and description.
  3. Put your website domain in the OAuth 2.0 Authorized Redirect URLs: (i.e
  4. Once you have registered, copy and past the created application credentials (App ID and Secret) into the HybridAuth config file.