Magento LinkedIn Social Login | How to Add LinkedIn Login in Magento 2

Magento LinkedIn Social Login | How to Add LinkedIn Login in Magento 2


What is social login?

Social Login allows users to connect to any website using various networking platforms such as Facebook, Google, Twitter etc. It is a form of single sign-on for users designed and implemented to make logging in easier for end-users. Using social login users can sign into any third-party website without having to create an account.

How does Social Login Works?

The social login process is extremely simple. Users come to your website and select whichever social login provider they want to login. They fill in their details on the social network provider’s site. Once the authentication process is completed by the social provider the user can start using your Magento website. If they are a new user then they are registered and if they are an existing user they are logged in.

Integration of LinkedIn Social Login ( LinkedIn SSO ) For Magento using OAuth 2.0 Protocol.

miniOrange Social Login enables your users to use their LinkedIn account to login/register to your Magento Website. Give your users a Best choice, without remembering passwords, to login/register on your Magento website. Setup Magento LinkedIn Plugin by miniOrange in few easy steps and setup LinkedIn.

Magento LinkedIn Social Login (LinkedIn Single Sign-On (SSO)) for Magento can be achieved by using our Magento Social Login plugin. In this guide we will see how to implement LinkedIn login on your Magento website in the easiest way. Click here to know more about other features we provide in Magento Social Login Plugin.

Pre-requisites : Download And Installation

  • You can download the miniOrange Social Login Free plugin from the Magento Marketplace.
  • Select Your Magento Store version from the Dropdown.
  • Click on Add to cart.
  • Go to the cart and checkout to buy the plugin.
  • Click on Download and save the miniOrange Social Login Plugin zip.
  • Unzip all contents of the zip inside the MiniOrange/OAuth directory.
  • {Root Directory of Magento} app code MiniOrange MagentoSocialLogin

  • Run the following commands on command prompt to enable the plugin
  •       1. php bin/magento setup:di:compile
          2. php bin/magento setup:upgrade

Steps to configure LinkedIn Social Login into Magento

Step 1. Configure LinkedIn Social Login In Magento

Follow the steps below to configure LinkedIn login in Magento

miniorange img Configure LinkedIn Social Login
  • Go to http://developer.linkedin.com/ and click on Create Apps and sign in with your linkedin account.
  • Magento Linkedin social login account
  • Enter the Application Name, Linkedin page URL or name, Privacy Policy URL, And upload app logo for Linkedin application.
  • If you don't have a LinkedIn page you can click on the link given to create a new page.
  • Social Login Linkedin into magento create app Information
  • Check the API Terms of Use and click on create app to enable linkedin login
  • LinkedIn magento sign in API Terms of Use login with linkedin
  • Click on Auth tab and click on Add redirect URL button.
  • Magento 2 Social Login LinkedIn enter redirect URL
  • To get the redirect URL navigate back to miniOrange social login plugin. You will find the Redirect URL under Social Login Settings tab.
  • Magento Linkedin social login copy redirect URL from plugin
  • Enter Callback URL as Redirect URLsand click on Update.
  • Paste the redirect url in linkedin for magento 2 social login using linkedin
  • Go to the Product tab. Here you will be required to enable two scope permissions.
  • LinkedIn login Product Scope premission social login Magento
  • For r_liteprofile and r_emailaddress scope permission, Find Sign In with LinkedIn and click on Select.Check the legal agreement check box and Click on Add Product.
  • LinkedIn login Product sign-in Scope premission
  • For w_member_social scope permission Find Share on LinkedIn and click on Select.Check the legal agreement check box and Click on Add Product, This permission required for social sharing.
  • Magento LinkedIn login Product share Scope premission
  • Note: Wait till LinkedIn approves your permission to be able to login with LinkedIn on your Magento Website.
  • Sign-in and share permission approved for magento linkedin social login
  • Now, navigate back to Auth tab to find your Client ID and Client Secret under the Application credentials section. Copy this values.
  • Application client ID and Client Secret magento linkedin login

2. Set credentials in miniOrange Social Login Plugin

  • Go to miniOrange Social Login Plugin → Click on Configure Apps → click on LinkedIn:
  • Magento LinkedIn login tab
  • Enable LinkedIn Social Login for Magento by enabling the toggle button.
  • LinkedIn Magento social login enable toggle button
  • Copy the Client Id and Client Secret form above setup and Paste them into the fields in LinkedIn Instructions.
  • LinkedIn Magento social login Client Id & secret
  • Enter the required scope.
  • Scope for LinkedIn sign in into magento
  • Then click on Save & Test Configuration button.
  • LinkedIn social login test configuration
  • A notification from the plugin that the test was successful will be shown. That means your Custom app will set properly.
  • Magento sign in test configuration successful
  • Now, Navigate to customer login page. Here you will notice that LinkedIn Social Login button has been activated. Customers can now login using their LinkedIn Credentials.
  • LinkedIn social login button on Magento customer login page

You have successfully configured LinkedIn Social Login for Magento Website.

Additional Resources


If you are looking for anything which you cannot find, please drop us an email on magentosupport@xecurify.com

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com