How to Create a LinkedIn Social Login App

To create a LinkedIn App, go and visit: https://www.linkedin.com/secure/developer

You need to be logged in to your LinkedIn account to be able to access their developer page. So first, log in to your LinkedIn account and then follow the link above to get to their developer page. This should look similar to the one shown in the image below:

LinkedIn Developer Page


On that page click on the "Create Application" link. Now the "Create Application" page does load. On that page enter all the information which do contain a star. They are required.

Add New LinkedIn App

Within the Application Info make sure, that you enter the correct URL of your website and that the URL you enter there does match 100% the one from your website. http://eventname.dryfta.com/index.php?option=com_dryfta&view=register&task=loginWithLinkedIn It's important that the entered Website URL does match the one from your actual website, otherwise the App won't work correctly and it will show an error message when you or your users try to connect with the App.

After you entered all the required information, check the box at the bottom of the page to agree to the LinkedIn API Terms of Use and click on the "Submit" button.


After you added the application you will see a app listing page which will contain all the needed information to integrate that App in to your website. See image below:

LinkedIn App Success 

Use the "OAuth 2.0 Redirect URLs" field same as the LinkedIn callback URL. If these entries do not completely match the URL of your website, the application won't work and it will show an error message whe you try to connect to the App.


Copy the API Key and Secret Key in to the LinkedIn App settings within the settings page. Go to Contacts > Settings to set up LinkedIn application. See image below:

LinkedIn App Plugin Settings


Important: When you copy and paste all the needed IDs and Keys, make sure, that you don't have any empty spaces, either at the beginning nor at the end of these entries. If you have any empty spaces, then the Application won't work and will show an error message when you try to connect to the App.

After you entered the App ID and App Secret, click on the "Save" button within the settings page.

0 Replies 0 Loves
Sep 08, 2020 07:38 PM

Replies

No reply posted yet.