oauthautodesk-forge

Autodesk Refresh Token keeps Expiring


Whenever I generate my 3 legged refresh token, I am able to use it for a couple hours until it expires again. According to the Autodesk API documentation, they should last up to 15 days.

I am following this documentation, specifically Section 1 to get the three legged refresh token initially and Section 2 to use the refresh token to get another access token.

I see that in Section 2 there is another refresh token in the repsonse, do I need to replace my refresh token with that one?


Solution

  • Access token expires after 1 hour. The refresh token is what expires after 14 days