‹ Back to Orbis News

GitHub CLI previews expiring, auto-refreshing OAuth tokens

Orbis News

According to GitHub, CLI users can opt in to expiring OAuth credentials in public preview starting with v2.103.0. The CLI stores a rotating refresh token and automatically renews the access token when needed.

  • GitHub recommends configuring gh as the credential helper for HTTPS Git and using Git 2.46 or newer. [1]

Sources and originals

  • [1] GitHub · · Read original

    CLI users can opt in to expiring credentials with automatic renewal.