Skip to content

Commit 88b17cb

Browse files
committed
Instructions
1 parent 8ab5970 commit 88b17cb

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

+31
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,37 @@ Opauth is a multi-provider authentication framework for PHP.
66

77
Demo: http://opauth.org
88

9+
Getting started
10+
----------------
11+
1. Install Opauth-LinkedIn:
12+
```bash
13+
cd path_to_opauth/Strategy
14+
git clone git://github.com/uzyn/opauth-linkedin.git LinkedIn
15+
```
16+
17+
2. Create LinkedIn application at https://www.linkedin.com/secure/developer
18+
- Enter your domain at JavaScript API Domain
19+
- There is no need to enter OAuth Redirect URL
20+
21+
3. Configure Opauth-LinkedIn strategy with at least `qpi_key` and `secret_key`.
22+
23+
4. Direct user to `http://path_to_opauth/linkedin` to authenticate
24+
25+
Strategy configuration
26+
----------------------
27+
Required parameters:
28+
29+
```php
30+
<?php
31+
'LinkedIn' => array(
32+
'api_key' => 'YOUR API KEY',
33+
'secret_key' => 'YOUR SECRET KEY'
34+
),
35+
```
36+
37+
See LinkedInStrategy.php for optional parameters.
38+
39+
940
Dependencies
1041
------------
1142
Opauth-LinkedIn includes tmhOAuth, which requires hash_hmac and cURL.

0 commit comments

Comments
 (0)