Skip to content

Conversation

@hughescr
Copy link

The linkedin API https://api.linkedin.com/v1/people/~:(public-profile-url) fails with an HTTP 500 error if the user has set privacy settings to not publish their public profile. If this failure happens, then re-request the profile, with that element removed from the request, so that it can succeed.

Without this change, users who have restricted their public profile cannot log in via this module.

dmlenton pushed a commit to dmlenton/passport-linkedin-oauth2 that referenced this pull request Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant