Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.233 Home All releases olderv2.1.232 v2.1.234newer
Claude Code v2.1.233

Gateway upstreams can forward the signed-in user's identity

Use it now
Useful3 Signal3
Gateway Notable

Self-hosted gateway upstreams can forward your identity and email, and config refuses it for Anthropic hosts.

forward_user_identity
What

Anthropic upstreams in gateway config accept a new forward_user_identity option. With it set, requests carry the signed-in developer's identity-provider subject and email as x-litellm-end-user-id, x-claude-gateway-user-id and x-claude-gateway-user-email, for a proxy you run yourself. Config validation refuses the option when the upstream base_url host is anthropic.com, any subdomain of it, or the AWS external-Anthropic pattern, so user emails never reach Anthropic.

Details
  • When an oidc block is present alongside it, a warning names exactly which fields get forwarded.
  • Off unless you add the option to an upstream.
Evidence

forward_user_identity is for identifying users to a proxy you run at base_url; it is refused for

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.233 →