[BUG] Official GitHub Integration Issue

Resolved 💬 3 comments Opened Aug 18, 2025 by ahudson9999 Closed Jan 5, 2026

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.83 (Claude Code)
  • Operating System: Windows 11
  • Terminal: Cursor (VS Code fork)

Bug Description

GitHub authentication flow fails in an infinite loop - GitHub confirms successful authentication, but Claude Code continues to report "not logged in" status, preventing the official GitHub integration from working.

Steps to Reproduce

  1. Run /install-github-app command in Claude Code
  2. Claude Code reports "not logged into GitHub"
  3. Run auth login to authenticate with GitHub
  4. Authentication request times out and provides fallback link + OTP
  5. Follow the link and enter the OTP on GitHub
  6. GitHub confirms successful authentication
  7. Return to Claude Code and run auth status
  8. Claude Code still reports "not logged in"
  9. Repeat steps 3-8 in endless loop

Expected Behavior

After successful GitHub authentication, auth status should show logged in status and /install-github-app should proceed with GitHub App installation.

Actual Behavior

Despite GitHub conforming successful authentication, Claude Code fails to recognize the authenticated state, creating an infinite authentication loop that prevents the use of the offical integration.

Additional Context

  • GitHub CLI app is already installed on the system
  • Tried restarting Cursor, Claude Code, and entire computer -- problem persists
  • Personal Access Token authentication works as a workaround
  • This suggests the GItHub API integration works, but the OAuth callback/token exchange in the auth flow is broken
  • Issue has been reproducible across multiple attempts over time

View original on GitHub ↗

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