2016-05-26 16:09:04 +00:00
|
|
|
|
2021-03-19 21:31:19 +00:00
|
|
|
[[_linkedin]]
|
|
|
|
|
2016-05-26 16:09:04 +00:00
|
|
|
==== LinkedIn
|
|
|
|
|
2021-03-22 13:20:23 +00:00
|
|
|
.Procedure
|
|
|
|
. Click *Identity Providers* in the menu.
|
|
|
|
. From the `Add provider` list, select `LinkedIn`.
|
|
|
|
+
|
2021-06-17 14:39:30 +00:00
|
|
|
.Add identity provider
|
2022-10-05 18:43:15 +00:00
|
|
|
image:images/linked-in-add-identity-provider.png[Add Identity Provider]
|
2021-03-22 13:20:23 +00:00
|
|
|
+
|
|
|
|
. Copy the value of *Redirect URI* to your clipboard.
|
|
|
|
. In a separate browser tab, https://www.linkedin.com/developer/apps[create an app].
|
|
|
|
.. After you create the app, click the *Auth* tab.
|
|
|
|
.. Enter the value of *Redirect URI* into the *Authorized redirect URLs for your app* field.
|
|
|
|
.. Note *Your Client ID* and *Your Client Secret*.
|
|
|
|
. In {project_name}, paste the value of the *Client ID* into the *Client ID* field.
|
|
|
|
. In {project_name}, paste the value of the *Client Secret* into the *Client Secret* field.
|
2022-07-26 15:50:24 +00:00
|
|
|
. Click *Add*.
|
2022-10-05 18:43:15 +00:00
|
|
|
|
2022-10-25 04:43:50 +00:00
|
|
|
.Configuration
|
|
|
|
* With `Profile Projection` you can configure the `projection` parameter for profile requests.
|
|
|
|
* For example, `(id,firstName,lastName,profilePicture(displayImage~:playableStreams))` produces the following profile request URL:
|
|
|
|
[source,txt]
|
|
|
|
----
|
|
|
|
https://api.linkedin.com/v2/me?projection=(id,firstName,lastName,profilePicture(displayImage~:playableStreams))
|
|
|
|
----
|