Invalid access token
antoinealej opened this issue · 7 comments
antoinealej commented
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
chinmay4o commented
same here
antoinealej commented
@nvh95 any tips about that?
Mohammad-Sahil commented
same here
samirahosseini937 commented
Same here... Has anyone found a solution?
emrests commented
Same here. This token doesn’t look right, check the value and try again.