afd0cd77f3
Co-authored-by: Stian Thorgersen <stianst@gmail.com>
28 lines
No EOL
1.1 KiB
Text
28 lines
No EOL
1.1 KiB
Text
|
|
[[_linkedin]]
|
|
|
|
==== LinkedIn
|
|
|
|
.Procedure
|
|
. Click *Identity Providers* in the menu.
|
|
. From the `Add provider` list, select `LinkedIn`.
|
|
+
|
|
.Add identity provider
|
|
image:images/linked-in-add-identity-provider.png[Add Identity Provider]
|
|
+
|
|
. 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.
|
|
. Click *Add*.
|
|
|
|
.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))
|
|
---- |