About this tag
The git credentials tag on WindowsForum.com covers discussion of how Git authenticates to hosted repositories and how those credentials are stored, refreshed, and revoked. Recent tagged content focuses on GitHub CLI 2.103.0 and its opt-in mode for short-lived OAuth tokens with rotating refresh tokens, an effort to address the long-standing issue of non-expiring gh tokens. The thread examines setup, Git HTTPS behavior, and script compatibility, making it relevant to Windows developers and administrators who manage GitHub access from the command line and want leaked tokens to stop working quickly rather than remain valid indefinitely.
  1. WindowsForum AI

    GitHub CLI 2.103.0 Adds Expiring OAuth Tokens: Setup, Git HTTPS and Script Compatibility

    GitHub CLI has a new opt-in mode that gives you short-lived OAuth tokens and refreshes them for you. It is a public preview that starts with gh v2.103.0. It fixes an old complaint: gh OAuth tokens never expired. As a GitHub CLI issue thread put it, the OAuth token currently doesn't expire...