claude-code - 💡(How to fix) Fix [BUG] Safari browser fails at login into Claude account via Google SSO

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

Root Cause

I don't know if this is a bug with Safari or with Claude Code, but I figure it's more likely a bug with Claude because of how well-maintained the Safari browser is and because Claude is relatively new.

Code Example

This webpage was reloaded because a problem occurred.
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?

I don't know if this is a bug with Safari or with Claude Code, but I figure it's more likely a bug with Claude because of how well-maintained the Safari browser is and because Claude is relatively new.

Here's the issue: I run /login in Claude Code, I select login with a Claude account with a subscription, and it takes me to my default browser, Safari, to open the Claude login page. It opens correctly and I login, but, after completing my Google SSO, it takes me to Claude and, after a bit of loading, it takes me back to the login page I started at with this message from Safari: "This webpage was reloaded because a problem occurred".

Also, I'm on MacOS Tahoe 26.5. This problem was still happening a few weeks ago when I was on a pre-20 version of MacOS.

Retrying with Chrome as my browser, it works perfectly fine.

This is a complicated issue with a bunch of possible culprits, so I'm not sure what's at fault here, but I thought it better to report it than to not.

What Should Happen?

The Claude login webpage on Safari should authenticate me and let me continue to the Claude Code app.

Error Messages/Logs

This webpage was reloaded because a problem occurred.

Steps to Reproduce

  1. Pre-reqs: MacOS, Safari as default browser
  2. open Claude Code (claude)
  3. run /login
  4. Select Claude account with a subscription as your login method
  5. Sign in through Google SSO through the opened page on Safari.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.149 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

This issue is also present in other workflows which require Claude Authentication via web browser for Claude Code--in specific, the webpage repeatedly has an issue (in the same way as above) for joining a team on Claude.

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] Safari browser fails at login into Claude account via Google SSO