[BUG] Unable to log in
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?
macOS Sequoia 15.7.6 (24G707). Claude Code 2.1.143. iTerm/Terminal
I type:
claude
and press enter. It shows: Not logged in · Run /login
I type /login and press enter. I choose:
❯ 1. Claude account with subscription · Pro, Max, Team, or Enterprise
Browser opens to: https://claude.ai/oauth/authorize?code=true&client_id=.......
I click “Authorize”
I go back to the terminal and see Browser didn't open? Use the url below to sign in (c to copy)
(Which is weird to me, I usually didn’t see that)
After a while it switches to:
` Login
Logged in as [myemail]
Login successful. Press Enter to continue…
Esc to cancel`
I press enter.
I see an alert: Alert
Session * Claude Code (sh) #1: Claude Code
login successful
It shows: Not logged in · Run /login
What Should Happen?
It should show that I’m logged in.
Error Messages/Logs
Steps to Reproduce
See above
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.143 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗