I am trying to get LinkedIn User Access token using linkedin-j-android library. I am able to get a Valid auth token (60 days validity) and secret.
I am able to fetch all the user details using that auth token in the android device but when I am passing the same auth token to the web server and there I am using the same auth token to fetch the same user details, I am getting Invalid access token response.
The same token is working in Android device but on server It is not working. On the server, I am using same API keys and Secret of the LinkedIn App which I have used in Android device.