GitHub CLI gains short-lived, automatically refreshed OAuth credentials
GitHub has opened a public preview of expiring OAuth credentials in GitHub CLI v2.103.0. Users explicitly enable them with gh auth login --expiring ; the CLI stores an access token and rotating refresh token, then refreshes credentials when needed. Existing logins and manually supplied tokens are unchanged. Support covers github.com and ghe.com, with GitHub Enterprise Server 3.23 or later issuing expiring credentials.
TECHNICAL / PRACTICAL This reduces the useful lifetime of a leaked access token, but introduces a compatibility trap: scripts that capture gh auth token once may fail after expiry. GitHub recommends gh auth setup-git for HTTPS Git and Git 2.46+ to avoid stale credential caching. Older servers fall back to nonexpiring tokens.
Action: pilot on developer machines before changing build automation; re-read tokens at point of use rather than caching them.
Text-recovery provenance
Recovered from Arbiter-News-2026-10-22.html. Original file SHA-256: cf75f85427543c10199faf650406624aa94d3db2835078a1c8e02f0027955519. The original text is preserved; layout, headings outside the story text, and illustrations may differ from the saved file.