2016-05-26 16:09:04 +00:00
|
|
|
|
|
|
|
==== LinkedIn
|
|
|
|
|
2019-01-18 19:17:57 +00:00
|
|
|
There are a number of steps you have to complete to be able to enable login with LinkedIn. First, go to the `Identity Providers` left menu item
|
2016-06-05 21:22:42 +00:00
|
|
|
and select `LinkedIn` from the `Add provider` drop down list. This will bring you to the `Add identity provider` page.
|
2016-05-26 16:09:04 +00:00
|
|
|
|
2016-05-26 19:59:00 +00:00
|
|
|
.Add Identity Provider
|
2017-08-28 12:50:14 +00:00
|
|
|
image:{project_images}/linked-in-add-identity-provider.png[]
|
2016-05-26 16:09:04 +00:00
|
|
|
|
2016-05-26 19:59:00 +00:00
|
|
|
You can't click save yet, as you'll need to obtain a `Client ID` and `Client Secret` from LinkedIn. One piece of data you'll need from this
|
2017-08-28 12:50:14 +00:00
|
|
|
page is the `Redirect URI`. You'll have to provide that to LinkedIn when you register {project_name} as a client there, so
|
2016-05-26 19:59:00 +00:00
|
|
|
copy this URI to your clipboard.
|
2016-05-26 16:09:04 +00:00
|
|
|
|
2017-09-05 07:49:24 +00:00
|
|
|
To enable login with LinkedIn you first have to create an application in https://www.linkedin.com/developer/apps[LinkedIn Developer Network].
|
2016-05-26 16:09:04 +00:00
|
|
|
|
2016-06-10 07:23:59 +00:00
|
|
|
NOTE: LinkedIn may change the look and feel of application registration, so these directions may not always be up to date.
|
2016-05-26 20:48:36 +00:00
|
|
|
|
2016-05-26 19:59:00 +00:00
|
|
|
.Developer Network
|
2017-08-28 12:50:14 +00:00
|
|
|
image:images/linked-in-developer-network.png[]
|
2016-05-26 16:09:04 +00:00
|
|
|
|
2016-05-26 19:59:00 +00:00
|
|
|
Click on the `Create Application` button. This will bring you to the `Create a New Application` Page.
|
2016-05-26 16:09:04 +00:00
|
|
|
|
2016-05-26 19:59:00 +00:00
|
|
|
.Create App
|
2017-08-28 12:50:14 +00:00
|
|
|
image:images/linked-in-create-app.png[]
|
2016-05-26 16:09:04 +00:00
|
|
|
|
2018-01-25 08:35:22 +00:00
|
|
|
Fill in the form with the appropriate values, then click the `Submit` button. This will bring you to the new application's settings page.
|
2016-05-26 16:09:04 +00:00
|
|
|
|
2016-05-26 19:59:00 +00:00
|
|
|
.App Settings
|
2017-08-28 12:50:14 +00:00
|
|
|
image:images/linked-in-app-settings.png[]
|
2016-05-26 16:09:04 +00:00
|
|
|
|
2016-06-03 14:36:51 +00:00
|
|
|
Select `r_basicprofile` and `r_emailaddress` in the `Default Application Permissions` section.
|
2017-08-28 12:50:14 +00:00
|
|
|
You'll have to copy the `Redirect URI` from the {project_name} `Add Identity Provider` page and enter it into the
|
2016-06-10 07:25:42 +00:00
|
|
|
`OAuth 2.0` `Authorized Redirect URLs` field on the LinkedIn app settings page. Don't forget to click the `Update` button after
|
2016-05-26 19:59:00 +00:00
|
|
|
you do this!
|
2016-05-26 16:09:04 +00:00
|
|
|
|
2017-08-28 12:50:14 +00:00
|
|
|
You will then need to obtain the client ID and secret from this page so you can enter them into the {project_name} `Add identity provider` page.
|
|
|
|
Go back to {project_name} and specify those items.
|