I am using the following procedure to refresh linkedin oauth2 access tokens
https://developer.linkedin.com/docs/oauth2#refresh
After initiating the oauth procedure in the browser, the dialog is skipped as described, and a new code is issued which I then use to obtain a new, different access_token. However the expires_in
field ( seconds till expiration ) is lesser than the one in the previous access_token it is in fact referencing the same expiration date.
This means that the expiration date effectively has not been extended, Which is the purpose of refreshing the access token.
Does refreshing an access token extend the expiration time ?
Or is there anything I am missing here ?
( perhaps the expiration date can only be extended after a certain time of usage ? )