Get the daily emailDaily email
  1. Home
  2. Agents
  3. This story

Claude Code v2.1.312 adds custom OIDC user claims and a long list of fixes

Claude Code v2.1.312 adds oidc.user_id_claim to the Claude apps gateway, so organizations can identify users by claims like Microsoft Entra ID's oid. It also stops Claude from overwriting very large CLAUDE.md or rules files after reading only their start…

Published Read the original

Ranked #9 of 26 on Wednesday, October 28

Claude Code v2.1.312 adds custom OIDC user claims and a long list of fixes

Why it matters

Teams on Bedrock or Vertex with custom deployment names now get a shorter system prompt by default; set CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 if that changes behavior you depend on.

What happened

1 min read

Claude Code v2.1.312 adds oidc.user_id_claim to the Claude apps gateway, so organizations can identify users by claims like Microsoft Entra ID's oid. It also stops Claude from overwriting very large CLAUDE.md or rules files after reading only their start, caps prompt and agent hooks at 24 concurrent runs per session, and uses the shorter system prompt for unrecognized model names on Bedrock, Vertex, Foundry and Mantle.

inscraper analysis

Our analysis

A maintenance release rather than a feature drop. The changes that matter are enterprise-facing: custom OIDC claims for Entra ID, and the quiet default switch to a shorter system prompt for unrecognized model names, which could change output quality for teams using custom deployment names. The fix for overwriting large CLAUDE.md files closes a real data-loss risk. Anyone with dashboards on the claude_code.safety_event OpenTelemetry event should note it is no longer sent.

More in Agents