File: oauthlinkedin.md

package info (click to toggle)
simplesamlphp 1.16.3-1%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 21,036 kB
  • sloc: php: 73,175; ansic: 875; sh: 83; perl: 82; xml: 52; makefile: 46
file content (26 lines) | stat: -rw-r--r-- 966 bytes parent folder | download
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.