File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,37 @@ Opauth is a multi-provider authentication framework for PHP.
6
6
7
7
Demo: http://opauth.org
8
8
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
+
9
40
Dependencies
10
41
------------
11
42
Opauth-LinkedIn includes tmhOAuth, which requires hash_hmac and cURL.
You can’t perform that action at this time.
0 commit comments