Step by Step Guide to Configure LinkedIn as an OAuth/OpenId Connect Server

If you want to login to your WordPress site using your LinkedIn username and password, you can simply do it using our WP OAuth Client plugin. Once you configure the LinkedIn with WordPress plugin, you can sso/login to your WordPress site using LinkedIn credentials. This plugin also allows you to map your WordPress account different roles based on your LinkedIn attributes/groups. To know more about other features we provide in WP OAuth Client plugin, you can click here.

Please follow the steps given below to configure your LinkedIn account with WordPress and setup the Single Sign On.

Guide to configure LinkedIn with WordPress :

1.Go to https://www.linkedin.com/secure/developer?newapp= in order to create a new application. Click on Create Application button to create a new application.

linkedin1

2.Enter the required details and click on the Submit button to save your changes. (Refer to the image on the next page)

linkedin2

3.Copy the Client Id and the Client Secret and save it in your miniOrange OAuth Client plugin under Client Id and the Client Secret text fields respectively.

linkedin3

4.Copy the Redirect/ Callback URl from miniOrange OAuth Client plugin and enter it under OAuth 2.0 -> Authorized Redirect URLs textbox. Click on the Add button adjacent to the text box to save it. Finally, click on the Update button to save your configurations. (image on the next page).

You can download OAuth Client plugin using the following link.

OAuth Single Sign On – SSO (OAuth client)

 LinkedIn Endpoints and Scope:

Client ID : from the step 3 above
Client Secret : from the step 3 above
Scope: r_basicprofile
Authorize Endpoint: https://www.linkedin.com/oauth/v2/authorization
Access Token Endpoint: https://www.linkedin.com/oauth/v2/accessToken
Get User Info Endpoint: https://api.linkedin.com/v2/me

If you are facing any difficulty please mail us on info@miniorange.com.