[BUG] GitHub connector reconnect only reaches OAuth "Authorize", never reaches App "Install" (repo access never granted)

Status Open
Reported on v2.1.222
Maintainer reply None cached
Activity 0 comments · opened Aug 5, 2026

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:

  1. Revoke the "Claude" app under https://github.com/settings/installations (Authorized GitHub Apps tab)
  2. In Claude, disconnect and reconnect the GitHub integration
  3. GitHub only asks to Authorize (identity), never to Install & Authorize (repo picker)
  4. Check https://github.com/settings/installations → Installed GitHub Apps is empty
  5. 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_

View original on GitHub ↗