Skip to content

Commit

Permalink
Instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
uzyn committed Jun 9, 2012
1 parent 8ab5970 commit 88b17cb
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,37 @@ Opauth is a multi-provider authentication framework for PHP.

Demo: http://opauth.org

Getting started
----------------
1. Install Opauth-LinkedIn:
```bash
cd path_to_opauth/Strategy
git clone git://github.com/uzyn/opauth-linkedin.git LinkedIn
```

2. Create LinkedIn application at https://www.linkedin.com/secure/developer
- 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
----------------------
Required parameters:

```php
<?php
'LinkedIn' => array(
'api_key' => 'YOUR API KEY',
'secret_key' => 'YOUR SECRET KEY'
),
```

See LinkedInStrategy.php for optional parameters.


Dependencies
------------
Opauth-LinkedIn includes tmhOAuth, which requires hash_hmac and cURL.
Expand Down

0 comments on commit 88b17cb

Please sign in to comment.