Nowadays, social login is usually used for faster registration, and you can save the time of remembering all your accounts. However, before creating a social login in Magento 2, you have to configure API of other social networks such as Yahoo, Facebook, Instagram, Pinterest, etc. Especially, in this post, we will show you the way to configure LinkedIn API in Magento 2. But do you know 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) which are called application credentials are all that we need. With this external application, your website will be linked to LinkedIn API. And these credentials play a major role in making LinkedIn users get access to your site.
To Configure LinkedIn API, let’s follow these steps:
Step 1: Let’s access to 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, please click Join now.
Step 2: You will see a series of information window that requests to fill in.
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.
Step 3: Now you’re in LinkedIn developer page, choose My app in the menu bar and click Create Application.
Step 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.
Step 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.
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. If you want to know more about how to configure the API of other social networks in Magento 2, keep following us!