Creating your LinkedIn application

To use LinkedIn authentication on your website, you first need to create a LinkedIn application:

  1. Sign in to your LinkedIn account at https://www.linkedin.com or create a new account.
  2. Visit https://www.linkedin.com/secure/developer.
  3. Click Create app on the My apps page.
  4. Fill in at least the required fields and accept the LinkedIn legal terms.
  5. Click Create app. LinkedIn redirects you to a page showing the details of your application.
  6. Switch to the Auth tab and add the URLs of all pages where you wish to allow LinkedIn authentication (i.e. pages that display the LinkedIn logon web part).
  7. Edit the Redirect URLs (under OAuth 2.0 settings).
  8. For each URL, click Add redirect URL, enter the full absolute URL including the protocol, domain, virtual directory and trailing slash (if necessary). For example: https://mydomain.com/Special-pages/SignIn
  9. Click Update after you add all required redirect URLs.

The Auth tab also displays your application’s the Client ID and Client Secret values. You need to enter these values in Kentico: Settings -> Security & Membership -> Authentication -> LinkedIn. See Settings - LinkedIn for more details.

Apply with LinkedIn program

If you wish to load birth date values for users who register on your site using their LinkedIn credentials, your LinkedIn application requires the r_fullprofile permission. Loading of the birth dates can be configured through the Require birth date property of the LinkedIn logon web part. If you enable the property without the required permissions for your LinkedIn application, registration and authentication will not work.

To obtain the permission, you need to apply and be approved as a LinkedIn Partner (LinkedIn Marketing Developer Program). You can apply on your app’s Products tab by clicking Add more products and selecting Marketing Developer Platform.

If you obtain the permission, you also need to configure Kentico to request this permission on behalf of users:

  1. Open the Settings application in Kentico.
  2. Select the Security & Membership -> Authentication -> LinkedIn settings category.
  3. Set the Requested permissions (scope) setting to: r_fullprofile
  4. Click Save.