[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
- Run /install-github-app command in Claude Code
- Claude Code reports "not logged into GitHub"
- Run auth login to authenticate with GitHub
- Authentication request times out and provides fallback link + OTP
- Follow the link and enter the OTP on GitHub
- GitHub confirms successful authentication
- Return to Claude Code and run auth status
- Claude Code still reports "not logged in"
- 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
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗