claude-code - 💡(How to fix) Fix [BUG] Unable to log in

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Unable to log in