When I request the initial oAuth token it works fine and I get the response:
{"access_token":"TOKENISHERE","token_type":"Bearer","expires_in":3600,"refresh_token":"REFRESHTOKENISHERE "}
When I use the refresh_token parameter to request a refresh token however, I get a similar response - with the expiry still the same rather than a 90 day token:
{"access_token":"TOKENISHERE","token_type":"Bearer","expires_in":3600,"refresh_token":"
REFRESHTOKENISHER "}
'grant_type': 'refresh_token',
'client_id': MYCLIENTID,
'refresh_token': THEREFRESHTOKENFROMFIRSTREQUEST
Is this correct? I would massively appreciate it if anyone knows what I'm doing wrong if this should return a 90 day token! I assume I am doing something wrong rather than this being intended as in
the docs here it even gives the examples response with "expires_in": 86400 - so I assume I should be getting a 90 day token on the refresh request?
Thanks