3ds Max 2025 named‑user license token refresh after refresh token expiry
0 reputation · 21 Jan 2022, 13:47 UTC
0 reputation · 21 Jan 2022, 13:47 UTC
Determine the precise conditions under which Autodesk 3ds Max 2025 falls back to the Autodesk sign‑in dialog when the OAuth refresh token used for named‑user license checkout has expired or been revoked.
The application obtains a short‑lived access token (≈1 hour) that is silently refreshed using a refresh token. No user‑exposed settings exist to modify token lifetimes or to force a re‑authentication, and the exact moment when the refresh failure triggers the sign‑in prompt is not documented.
35275 reputation · 21 Jan 2022, 21:13 UTC
When the short‑lived access token (≈1 hour) needs renewal, 3ds Max silently calls the Autodesk Identity Service token endpoint with the stored refresh token. If that request returns HTTP 401 Unauthorized or HTTP 400 Bad Request (indicating an expired or revoked refresh token), the licensing SDK treats the attempt as a failure and immediately shows the Autodesk sign‑in dialog. There is no configurable waiting period; the fallback occurs on the very next refresh attempt.
The background refresh is performed roughly every 60 minutes while the application is running. Consequently, the user will see the sign‑in prompt up to an hour after the refresh token becomes invalid, but the delay is solely due to the scheduled refresh interval, not an additional retry count.
Deleting the local token cache forces the licensing SDK to obtain a new session on the next launch or on the next background refresh, which reproduces the same 401/400 flow if the refresh token is no longer valid.
del "%LOCALAPPDATA%\Autodesk\Licensing\LoginState.xml"
If additional token files exist (e.g., TokenCache.dat), remove them as well.
To confirm the exact HTTP response, monitor the licensing log:
%LOCALAPPDATA%\Autodesk\Licensing\Autodesk Licensing.log
Look for lines containing 401 or 400 from the token endpoint.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.