# LinkedIn

Authentification | Utilisateurs | Mot-de-passe
--- | --- | ---
✔ |  |

## Présentation

LinkedIn is a professional social network. It uses OAuth2 protocol to allow applications to reuse its own authentication process (see https://developer.linkedin.com/docs/oauth2).

You need to register a new application on LinkedIn to get an application ID and a secret. See https://www.linkedin.com/developer/apps/ on how to do that.

## Configuration

In Manager, go in `General Parameters` > `Authentication modules` and choose LinkedIn for authentication module.

Then, go in `LinkedIn parameters`:

- Niveau d'authentification : niveau d'authentification accordé à ce module.
- Client ID: the application ID you get
- Client secret: the corresponding secret
- Searched fields: Fields requested on People endpoint
- Field containing user identifier: Field that will be used as main user identifier in LL::NG
- Scope: OAuth 2.0 scopes

Collected fields are stored in session in `linkedIn_` keys