LinkedIn Login Integration Kit

Troubleshooting

PingFederate can’t connect to the LinkedIn API

Description:

Recommendation:

  • Check the Client ID and Client Secret values for the PingFederate application that you registered on https://developer.linkedin.com/.

  • Copy and paste the values directly into the adapter instance configuration. Run the test again.

LinkedIn presents the user with an Unauthorized page

Description:

  • LinkedIn presents the user with an Unauthorized page containing a link to an error page provided by the LinkedIn IdP Adapter instance.

Explanation:

  • During authentication, the user declined to give authorization to LinkedIn. Ask the user to repeat the process and authorize LinkedIn.

You can customize this error page. Learn more in the Unauthorized Redirect URL table entry in LinkedIn IdP Adapter settings.

All SSO attempts fail

Description:

  • For all users, attempting to sign on to an application through the LinkedIn IdP Adapter fails. The PingFederate server log includes the following error: "Attribute retrieval from LinkedIn failed".

Recommendation:

  • Check whether you are using the correct LinkedIn API endpoint for the permissions that you have requested. In your adapter instance configuration, check that the following settings and fields are in agreement:

    • Permissions

    • LinkedIn User Data V2 URL

LinkedIn does not return values for some requested attributes

Description:

  • After successful authentication and authorization, LinkedIn does not return values for some of the requested attributes.

Explanation:

  • Some attributes require specific LinkedIn partner programs. Learn more in Frequently Asked Questions in the LinkedIn developer documentation.