[BUG] /install-github-app without a Pro account cannot cancel/exit
Resolved 💬 3 comments Opened May 11, 2026 by davidhullster Closed May 14, 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?
ran /install-github-app without a Pro account that supports long-lived tokens; no way to abort
once the OAuth prompt appears, Ctrl-C doesn't exit
What Should Happen?
ctrl-c should allow exiting out of loop to enter long-lived key
Error Messages/Logs
❯ /install-github-app
Create Authentication Token
Creating a long-lived token for GitHub Actions
Browser didn't open? Use the url below to sign in (c to copy)
https://claude.com/cai/oauth/authorize?code=true&client_id=9d1c250a-e61b-44d9-88ed-5944d1
962f5e&
response_type=code&redirect_uri=https%3A%2F%2Fplatform.claude.com%2Foauth%2Fcode%2Fcallba
ck&scop
e=user%3Ainference&code_challenge=P28YuH96tFE3Ej0GGlxrLfy6Qzs_5KA3vzJHs_9qLv4&code_challe
nge_met
hod=S256&state=FPF8lK4t15_WSdX1-PSFEN0n--0JxehNhyML1ONQ06s
Paste code here if prompted >
==========
❯ /install-github-app
Create Authentication Token
Creating a long-lived token for GitHub Actions
OAuth error: Invalid code. Please make sure the full code was copied
Press Enter to try again, or any other key to cancel
Steps to Reproduce
run /install-github-app without a Pro account
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.138 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗