[BUG] GitHub connector reconnect only reaches OAuth "Authorize", never reaches App "Install" (repo access never granted)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When reconnecting the GitHub integration in Claude (Settings → Connectors), the flow only redirects to GitHub's OAuth authorize screen (/login/oauth/authorize) and never to the GitHub App installation screen (/apps/<app>/installations/new) where repository access would actually be granted.
Result: GitHub shows the "Claude" app under Settings → Applications → Authorized GitHub Apps (marked "Never used"), but nothing ever appears under Installed GitHub Apps. Every API call that needs repo write access fails with:
403 Resource not accessible by integration
What Should Happen?
Reconnecting should trigger GitHub's App installation flow so repository access is actually granted, not just identity authorization.
Error Messages/Logs
Steps to Reproduce
Steps to reproduce:
- Revoke the "Claude" app under https://github.com/settings/installations (Authorized GitHub Apps tab)
- In Claude, disconnect and reconnect the GitHub integration
- GitHub only asks to Authorize (identity), never to Install & Authorize (repo picker)
- Check https://github.com/settings/installations → Installed GitHub Apps is empty
- Any write operation against a repo (create branch, push files, etc.) fails with 403 "Resource not accessible by integration"
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.222 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_