← October 22, 2026 briefing

GitHub CLI adds opt-in public preview of expiring, auto-refreshing OAuth tokens

Announced October 21, 2026

Verified (fact)

GitHub CLI users can now opt in to OAuth credentials that expire and refresh automatically. The feature is in public preview. When users opt in, gh also stores an expiring access token.

Why it matters (interpretation)

In environments where coding agents use gh heavily, this can reduce the risk of long-lived token leaks.

Sources

More about GitHub