We have integrated LinkedIn for the automation using OAuth2.0 3-legged authentication method. It was working fine earlier but now, our users are getting the following issue:
"The token used in the request has been revoked by the user"
Issue Details: Our code, programmatically generates a new access token for the authenticated user with using the refresh token and when it gets fired in the next API call, our users are getting the above error. But, it starts working after 3 to 5 min.
Note: Our system uses refresh token to get the access token in each API call of the LinkedIn endpoint.
Error:
{ "serviceErrorCode": 65601, "message": "The token used in the request has been revoked by the user", "status": 401 }
Kindly, look into this matter and provide a quick solution except the delay after generating the token.