1

I am trying to use OAuth2 with LinkedIn, following the official documentation. The answers I got from are inconsistent, or rather does not exhibit any consistent behaviour. This SO question helped me somewhat: After switching to use oauth2_access_token query parameter I managed to be able to query information about the user.

However, each time I request a new access token and try to use it from my server I got the dreaded Unable to verify access token error. When I try to use the access token manually with a plain curl, it fails with same error unless I navigate to my LinkedIn page.

Can someone explains what's the correct workflow and parameters as LinkedIn's own documentation appears to be flawed? A server-side code example would be great...

Community
  • 1
  • 1
insitu
  • 3,814
  • 3
  • 19
  • 34

0 Answers0