How To Configure LinkedIn API in Magento 2

Social login is popular among customers due to a faster registration process (requiring almost no additional information), and you can save the time of remembering all your accounts. However, before creating a social login in Magento 2, you have to connect to the API of other social networks such as Google, Facebook, Yahoo, Instagram, Pinterest, etc. Today, we will show you how to configure LinkedIn API in Magento 2.

When entering LinkedIn, you need to create an external application to connect your website to LinkedIn API. Then, application ID and secret (Client ID and secret or API ID and Secret), or application credentials, are all that we need. With this external application, your website will be linked to API. And these credentials play an important role in making LinkedIn users get access to your website.

To Configure LinkedIn API, let’s follow these steps:

1. Let’s access https://www.linkedin.com/secure/developer. If you are already a member, skip this step and follow the step number 3; otherwise, you will see a signup table which requires you to fill in your first and last name, email, and password. After setting up, click Join now.

Configure Linkedin API in Magento 2 - Login

2. You will see a series of information window that requests to fill in.

Configure Linkedin API in Magento 2 - Fillin

Choose your country and type in postal code, and then click Next

If you are a student, tick Yes option. Otherwise, you need to provide your job title and the name of the company, then click Next

You choose which one is the most suitable statement describing your situation.

LinkedIn immediately sends you a pin code to your registered email to verify your signup.

After confirming your email and providing some personal information, you are moved to the home screen of LinkedIn developer page.

3. Now you’re in LinkedIn developer page, choose My app in the menu bar and click Create Application.

Configure Linkedin API in Magento 2 -create App

4. An information table appears immediately, you need to type in your company name, your name, application description, application logo, application use, your business’s website URL, work email and phone number. The ones with the red mark are compulsory, so make sure that you don’t leave any of them blank. After that, tick on I have read and agreed to the LinkedIn API terms box of Use, and then you’re ready to go.

5. After clicking on the Submit button, you see your application authentication keys including Client ID and Client Secret. And then, copy and paste them into API fields in Magento Admin -> Store -> Configuration-> Magenest -> Social login -> LinkedIn following this link.

Configure Linkedin API in Magento 2 - ID and Secret Application

We have shown you how to configure LinkedIn API in Magento 2. If you want to ask for support, leave a comment or send us an email. Want to know more about how to configure the API of other social networks in Magento 2? Keep following us!

Share

Comments (2)

Speak Your Mind

2 + 6 =