keycloak-scim/docs/documentation/server_admin/topics/identity-broker/social/linked-in.adoc

28 lines
1.1 KiB
Text
Raw Normal View History

2016-05-26 16:09:04 +00:00
[[_linkedin]]
2016-05-26 16:09:04 +00:00
==== 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))
----