ctx7@0.5.8
·
3 commits
to master
since this release
Patch Changes
-
91dea9f: Fix
ctx7 library,ctx7 docsandctx7 skills suggestsilently falling back to anonymous requests when the stored OAuth token expires, which surfaced misleading quota errors for authenticated users.ctx7 generateno longer forces a full interactive re-login when the token can be refreshed instead. All four commands now go throughgetValidAccessToken(), which refreshes expired credentials.A successful refresh also keeps the stored
refresh_tokenwhen the server omits one from the response, as permitted by RFC 6749 §6. Previously the response was written verbatim, so the refresh token was dropped and the user was silently logged out at the next expiry.