You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
InternalsArea: what it touches
ImprovementsKind: in v2.1.312,
ImprovementsSection of the release
What
A redirect is when a server tells the client to fetch the request from a different address. When Claude Code sends its own requests to Anthropic and redirects are allowed, it now stops with the error "first-party request redirected to another origin" if the new address is on a different site.
The requests that load your account profile and exchange sign-in tokens also share an extra request setting.
Why
This keeps your credentials from being sent to another site. If you use a proxy that redirects requests, you may now see this error.