PHPackages                             opauth/linkedin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. opauth/linkedin

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

opauth/linkedin
===============

LinkedIn strategy for Opauth

0.3.0(6y ago)1665.4k↓45%18[2 issues](https://github.com/opauth/linkedin/issues)2MITPHPPHP &gt;=5.2.0

Since Jun 9Pushed 6y ago8 watchersCompare

[ Source](https://github.com/opauth/linkedin)[ Packagist](https://packagist.org/packages/opauth/linkedin)[ Docs](http://opauth.org)[ RSS](/packages/opauth-linkedin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (2)

Opauth-LinkedIn
===============

[](#opauth-linkedin)

[Opauth](https://github.com/opauth/opauth) strategy for LinkedIn, implemented based on  using OAuth 2.

Opauth is a multi-provider authentication framework for PHP.

Demo:

Getting started
---------------

[](#getting-started)

1. Install Opauth-LinkedIn:

    ```
    cd path_to_opauth/Strategy
    git clone git://github.com/opauth/linkedin.git LinkedIn
    ```

    or

    ```
    composer require opauth/linkedin
    ```
2. Create LinkedIn application at

    - Enter your domain at JavaScript API Domain
    - There is no need to enter OAuth Redirect URL
3. Configure Opauth-LinkedIn strategy with at least `qpi_key` and `secret_key`.
4. Direct user to `http://path_to_opauth/linkedin` to authenticate

Strategy configuration
----------------------

[](#strategy-configuration)

Required parameters:

```
