[Bug] OAuth tokens not persisted to Windows Credential Manager on MSYS/Git Bash

Resolved 💬 4 comments Opened Feb 26, 2026 by REX2626 Closed Apr 9, 2026

Bug Description

  • Platform: Windows 11 with MSYS/Git Bash (via VS Code integrated terminal)
  • Version: Claude Code 2.1.59
  • Issue: OAuth tokens not persisted to Windows Credential Manager. cmdkey /list shows no Claude/Anthropic entries. User must re-authenticate ("choose account type" prompt) every time

a new terminal is opened.

  • Config: ~/.claude.json has oauthAccount metadata but no tokens. ~/.claude/ has no credentials file.

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.1.59
  • Feedback ID: 2ef08781-6f98-4cba-ad75-70b1289d5cc8

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗