Configuring LinkedIn

A- A+

How to get Client ID and Client Secret from LinkedIn

Getting Client ID and Client Secret is the same concept as others. You just have to create an app and get those details from your created apps.

Go through the ‘Create An App’ link to go to the Google API page, or click here.

Click on the Create App on the very first page of the LinkedIn app.

On the next page, you will see the page below. Fill up every detail.

Steps to Fill Out the Page

  1. App Name (Required): Enter your desired app name in the App Name field.
  2. LinkedIn Page (Required)
    • Provide the URL of your app’s official LinkedIn page. If you haven't created one yet, set up a LinkedIn profile or company page for the app.
    • The LinkedIn page needs to be verified later, so make sure you have admin access to the page for verification.
  3. Privacy Policy URL: Under the Settings Page, enter the URL link to your website’s privacy policy in the Privacy Policy URL field.
  4. Upload App Logo (Required): In the Upload Your App Logo field, upload your app logo.
  5. Legal Agreement
    • In the Legal Agreement section, tick the checkbox “I have read and agree to these terms.”
    • Click on the Create App button to finalize.

After successfully submitting this page, you'll be redirected to a new page where you need to Request Access to Products. You need to add the Products of your authorized app. Go to Products and click on request access to the following products: 

  1. Share on LinkedIn
  2. Sign in with LinkedIn using OpenID Connect.

Now, click on the Request Access button, and you will see the pop-up below.

This will redirect to a new page that should look like this page below:

You are almost done. Just a few more steps as follows:

Step to Verify your LinkedIn page:

Step 1: Go to your settings page again and click on verify. If you can’t see the verify button, refresh the page.

Step 2: After clicking the “Verify” button, you should see a pop-up window where you need to generate the Verification URL, as shown in the following screenshot:

 

Step 3: Click on Generate URL button and copy the generated verification URL.

Step 4: Open a new tab and paste the Verification URL you copied. After a search, you should see the verify button of your LinkedIn Page, like the following screenshot. Click on Verify.

Step 5: Now, go back to your LinkedIn Developer App > Settings page and refresh. You will see that your page is already verified, like the screenshot:


Auth Setup:

Click on the Auth tab, and you will see this page below, where you will get the Authentication keys. Now, add your website's Redirect URL under the OAuth 2.0 Settings.

Note: To get the Redirect URL, go to your website’s Admin Dashboard > WP User Frontend > Settings> Social Login > Below the LinkedIn App Settings > Redirect URL


Now, copy the Client ID and Primary Client Secret Key and navigate to your website's Social Login page and paste the keys under the LinkedIn section, then click Save Changes.





That's it.

Now check how it works on your site. Here is the frontend view: 

Click on the LinkedIn icon, and you will see the login option, and you are done here.