summaryrefslogtreecommitdiffstats
path: root/modules/authlinkedin/docs/oauthlinkedin.md
blob: df437006f6b5c3bcd75a5005d95b55a2fc4da0ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Using the LinkedIn authentication source with SimpleSAMLphp
===========================================================

Remember to configure `authsources.php`, with both Consumer key and secret. Optionally you can set which attributes are requested from LinkedIn, the list of available attributes can be found here <https://developer.linkedin.com/docs/fields>.

To get an API key and a secret, register the application at:

 * <https://www.linkedin.com/secure/developer>

Set the callback URL to be:

 * `http://sp.example.org/simplesaml/module.php/authlinkedin/linkback.php`

Replace `sp.example.org` with your hostname.

## Testing authentication

On the SimpleSAMLphp frontpage, go to the *Authentication* tab, and use the link:

  * *Test configured authentication sources*

Then choose the *linkedin* authentication source.

Expected behaviour would then be that you are sent to LinkedIn and asked to login.
There is no consent screen for attribute release.