nvh95/react-linkedin-login-oauth2

Invalid access token

antoinealej opened this issue · 7 comments

Hi guys,

When I'm getting the access token using Postman I receive a 350 character long token.

When I'm doing it using react-linkedin-login-oauth2 I receive a 211 character long token.

There is a length difference between the 2, the one from Postman is longer.

When I use the Postman token to query https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~)) it works properly but when I use the shorter token from react-linkedin-login-oauth2 I receive an error from linkedin:

{
  serviceErrorCode: 65600,
  message: 'Invalid access token',
  status: 401
}

Any idea what I could be doing wrong?

Thanks

same here

@nvh95 any tips about that?

same here

Same here... Has anyone found a solution?

Same here. This token doesn’t look right, check the value and try again.