Adding an identity provider - LinkedIn (legacy)
Adding LinkedIn as an external identity provider (IdP) allows your users to sign on with LinkedIn when accessing your application.
The legacy LinkedIn IdP has been deprecated, so you might be unable to connect with LinkedIn using a legacy connection. Consider using the OpenID Connect (OIDC)-based LinkedIn IdP connection. Learn more in Adding an identity provider - LinkedIn. |
Before you begin
Ensure that you have:
-
A PingOne organization with an environment added. Learn more in Starting a PingOne trial.
-
Added your application to PingOne. Learn more in Adding an application.
-
A LinkedIn account.
Registering the application with LinkedIn
LinkedIn generates a client ID and client secret for your application. You’ll need these values to connect the application to PingOne.
Steps
-
Go to the LinkedIn Developers page.
-
Click Create app.
You’ll be prompted to sign on to your LinkedIn account.
-
Enter the following information:
-
App name: A unique name for the application. It must be fewer than 50 characters.
-
LinkedIn Page: The LinkedIn company page to be associated with your application.
-
App logo: The logo users see when they authenticate to your application.
-
-
Click Create app.
-
On the Auth tab, copy the Client ID and Primary Client Secret to a secure location.
-
In the OAuth 2.0 Settings section, you’ll see an empty field for Redirect URLs, which is the path in your application that users are redirected to after they have authenticated with LinkedIn. Leave this value blank for now.
Learn more
Learn more in Sign in with LinkedIn in the Microsoft LinkedIn documentation.
Adding LinkedIn as an identity provider in PingOne
Configure the IdP connection in PingOne.
Before you begin
Ensure that registration is enabled in the authentication policy. Learn more in Editing an authentication policy.
You should have the following information ready:
-
Client ID
-
Client secret
Steps
-
In the PingOne admin console, go to Integrations > External IdPs and click .
-
Click LinkedIn (Legacy).
-
Click Next.
-
On the Add External Identity Provider page, enter the following information:
-
Name: A unique identifier for the IdP.
-
Description (optional): A brief description of the IdP.
-
Population: A population that overrides the authentication policy’s registration population and enables just-in-time registration from the identity provider.
You can’t change the Icon and Sign-on button in accordance with the provider’s brand standards.
-
-
Click Next.
-
Configure the connection and enter the following information:
-
Client ID: The client ID that you copied earlier from the IdP. You can find this information on the Auth page on the LinkedIn Developers page.
-
Client secret: The application secret that you copied earlier from the IdP. You can find this information on the Auth tab on the LinkedIn Developers page.
-
Callback URL: Copy the Callback URL to a secure location. You’ll provide this value to the IdP later.
-
-
Click Next.
-
Define how the PingOne user attributes are mapped to identity provider attributes. Learn more in Mapping attributes.
-
Enter the PingOne user profile attribute and the external IdP attribute. Learn more about attribute syntax in Identity provider attributes.
-
To add an attribute, click .
-
To use the advanced expression builder, click the Gear icon. Learn more in Using the expression builder.
-
Select the update condition, which determines how PingOne updates its user directory with the values from the IdP. The options are:
-
Empty only: Update the PingOne attribute only if the existing attribute is empty.
-
Always: Always update the PingOne directory attribute.
-
-
-
Click Save.
Adding the callback URL to the LinkedIn Developer page
Copy the callback URL from the PingOne admin console and paste it into the LinkedIn Developers page.
Steps
-
In the PingOne admin console, go to Integrations > External IdPs and browse or search for the appropriate IdP.
-
Click the IdP to open the details panel.
-
Click the Connection tab.
-
Copy the Callback URL to a secure location.
-
Go to the LinkedIn Developers page.
-
In the My Apps list, select the appropriate application.
-
On the Auth tab, click the Pencil icon in the OAuth 2.0 settings section.
-
Click Add redirect URL.
-
Paste the callback URL that you copied from the PingOne admin console.
-
Click Update.