All areas Feed Weekly digests

auth

The tracked changes tagged auth, newest release first. Every sentence is an item's summary.

258 items from 59 releases, 8 breaking Sources: Claude Code, MCP registry, MCP TypeScript SDK, MCP Python SDK, Codex, OpenAI Python SDK, Google GenAI Python SDK, Gemini CLI Last change:

Goes with

Changes

Claude Code v2.1.332

  1. breaking Breaking

    Self-hosted runner: CLAUDE_CODE_OAUTH_TOKEN prefixes can now end in oat02- as well as oat01-; update proxy rules and log scrubbers and mask the whole value.

  2. feature

    Added the Cyber Verification Program access tier to the startup header, beside the model name when the tier applies to that model and the user is signed in with a claude.ai account.

  3. fix

    claude auth login now exits 1 with guidance instead of reporting Login successful when a claude.ai login could not be saved.

  4. other

    awsCredentialExport now times out after 10 minutes instead of waiting forever.

  5. fix

    VS Code: fixed a second Logout in the same window reporting success while the first was running, and added a Show logs button to logout errors.

+1 more
  1. fix

    VS Code: fixed a sign-in failing with no error returning to an empty sign-in screen and a stale authentication error after signing in again.

Codex 0.172.0

  1. feature

    App-server clients can select Amazon Bedrock Runtime during setup or sign-in.

Claude Code v2.1.331

  1. feature

    Added oidc.groups_jsonpath to the Claude apps gateway to read groups from matching entries of a list of objects using a subset of JSONPath (RFC 9535).

  2. feature

    Added CLAUDE_GATEWAY_IDP_CONNECT_BY_HOSTNAME=1 so that with oidc.use_proxy true, sign-in requests give the proxy an https IdP hostname even when NO_PROXY is set.

  3. other

    Improved the Console sign-in link shown by /login and claude auth login --console, which is now much shorter.

  4. feature

    [VSCode] Added a warning and a link to the revoke page when logging out and the request to revoke the claude.ai login is not confirmed.

  5. fix

    [VSCode] Fixed a broken sign-in image.

+1 more
  1. other

    [VSCode] Improved the sign-in screen to say when it opened because a request was refused.

Claude Code v2.1.330

  1. feature

    Claude Code can sign in to organizations managed in Anthropic's Enterprise Admin Console via claude auth login, then applies the organization's settings and uses its cloud provider or gateway.

  2. feature

    Added the CLAUDE_CODE_FULL_SIGN_IN_LINK=1 environment variable to print the full sign-in link instead of the short one.

  3. fix

    Fixed startup under forceLoginOrgUUID being refused after one temporary server error or dropped connection.

  4. fix

    Fixed /install-github-app and /design-login showing a generic failure for an account on hold instead of the on-hold notice and appeal link.

  5. other

    The claude.ai sign-in link shown by /login, claude auth login and claude setup-token is now much shorter.

+1 more
  1. fix

    VS Code: signing in to an account on hold now shows the on-hold notice and appeal link instead of a generic failure.

MCP registry v1.8.10

  1. fix

    Fixes HTTP authentication retry.

  2. fix

    Fixes multi-proof verification.

  3. feature

    Adds publisher support for reading the private key from a file or from an environment variable.

Codex 0.171.0

  1. fix

    Fixed enterprise MCP sign-in for identity providers that issue ID tokens without refresh tokens.

Claude Code v2.1.329

  1. fix

    Fixed repeated sign-outs on macOS when the Keychain could be read but not written; the affected session now stops at expiry and says why, and other sessions stay signed in.

  2. fix

    Fixed /usage-credits asking Pro and Max users to log in again after opening the browser, and the link disappearing after 8 seconds when the browser does not open and a task stops for usage credits.

  3. fix

    Fixed an MCP server being signed in again after its authentication was cleared while a token refresh was running.

  4. fix

    Fixed claude mcp login and /mcp saying a service rejects Claude Code sign-ins when its client registration was retired (HTTP 410 Gone).

  5. fix

    Fixed pressing Esc twice to clear a mistyped code ending the sign-in in /install-github-app.

+3 more
  1. performance

    Improved /tui and other in-place restarts to wait briefly for a login refresh, making sign-outs less likely.

  2. other

    macOS login renewal now tests the Keychain with a Claude Code-write-check item.

  3. fix

    VS Code: fixed being signed out in every window and terminal when the sign-in server took 10 to 30 seconds to answer the token refresh.

Claude Code v2.1.328

  1. fix

    Self-hosted runners no longer stop when their token runs out on a host whose clock is slow or was set back.

Codex 0.170.0

  1. fix

    Fixed MCP OAuth credential races during cancellation, login, and logout.

Claude Code v2.1.327

  1. fix

    Fixed a nested claude with its own token being refused by forceLoginOrgUUID; commands that do not get the session's token no longer receive its CLAUDE_CODE_OAUTH_SCOPES.

  2. fix

    Fixed two sign-in error messages pointing to the Claude subscription option where forceLoginMethod is set to console.

  3. other

    Changed some pre-started background sessions to be discarded after an account change.

  4. other

    Changed a terminal-paused workflow at a usage limit to stay paused after a login until the earlier login returns or a prompt is typed.

    authusage-limits

Claude Code v2.1.326

  1. breaking Breaking

    Sessions with --bare on an unapproved API key refuse most background moves, and claude --bare --bg exits with an error if the background service lacks the key.

  2. breaking Breaking

    Messages to a session on another machine are refused when the session uses an API key, auth token, profile or workload identity beside a saved claude.ai login.

  3. breaking Breaking

    Continue automatically at usage limit stops with a notice and sends nothing when the login changes or ends during the wait.

  4. breaking Breaking

    Edit and Write file tools refuse writes to Claude Code sign-in files such as .credentials.json.

  5. fix

    Background sessions now stop before any model request when the LLM gateway exported by the shell is lost after a crash, reopen from another folder, or is missing from the background service.

+22 more
  1. fix

    /login no longer replaces a Claude subscription login with a Console login when browser sign-in used a Claude plan.

  2. fix

    /login now says requests still use ANTHROPIC_API_KEY when an approved key is in use, instead of showing Login successful.

  3. fix

    Not logged in, /login and /status now name an unused ANTHROPIC_API_KEY, and the message no longer stays after the API key is turned on in /config.

  4. fix

    claude auth logout no longer leaves credentials behind or breaks token refresh when a Console profile's credentials are on a drive that rejects folder timestamps.

  5. fix

    Model requests in Claude Desktop's Code tab are retried once after a one-off 401 authentication error.

  6. fix

    forceLoginOrgUUID and forceRemoteSettingsRefresh errors no longer tell you to sign in again when an HTTP 403 network block page was the cause.

  7. fix

    claude auth login now shows a pasted sign-in code before Enter so it can be checked.

  8. fix

    /login and claude setup-token show Finishing sign-in after a pasted code is submitted.

  9. fix

    Esc during first-run sign-in now goes back one screen instead of doing nothing.

  10. fix

    /logout in fullscreen keeps the logged-out message on screen when exiting.

  11. fix

    /privacy-settings saves the choice to the correct account after signing in to a different account in another terminal.

  12. fix

    claude self-hosted-runner no longer asks for new tokens nonstop when a refreshed token is already due.

  13. other

    /logout and claude auth logout retry revoking the login and say where to revoke it if the server does not confirm.

  14. other

    The error when the API refuses a Console sign-in now says to run /login instead of pointing to an admin setting.

  15. other

    Sign-in prompts say what to do when a verification code or web address is pasted, and the prompt stays open.

  16. other

    The /login screen uses a text field, says why a rejected code failed, and scrolls the field into view in short windows.

  17. other

    /design-login, /install-github-app and MCP sign-in screens match /login, and the first two mask the pasted code.

  18. other

    Claude apps gateway sign-in screens show the sign-in address as a link, and c copies it.

  19. fix

    [VSCode] A saved sign-in is no longer lost on some networks.

  20. fix

    [VSCode] Sign-in no longer ends when a verification code, web address or code from another attempt is pasted.

  21. fix

    [VSCode] The sign-in screen no longer flashes when a panel opens while signed in to Console without an API key.

  22. other

    Claude's file tools refuse writes to sign-in files, and the Bash permission check asks before more commands reach them.

Google GenAI Python SDK v3.4.0

  1. fix

    Resolves Vertex Live connect auth off the event loop and caches ADC credentials.

Claude Code v2.1.325

  1. fix

    Fixed leftover .oauth_refresh.lock.owner.tmp.* files accumulating in the config directory.

  2. fix

    Fixed /fast saying fast mode was disabled by the organization under keyless Console sign-in, where the server was never asked.

  3. fix

    Fixed /model saying the organization restricts a model when Claude Code could not check that, such as with no network.

  4. fix

    Fixed Console sign-in in /login replacing the existing login when Esc was pressed right after the browser step.

  5. fix

    Fixed the browser showing the sign-in success page in some cases where sign-in failed or was canceled.

+17 more
  1. fix

    Fixed claude auth status and other short commands leaving a lock on a Console profile, which made the next session hang for about a minute.

  2. fix

    Fixed background sessions started on a claude.ai login using and billing an API key or token from the shell that started the background service.

  3. fix

    Fixed more cases of a session moving to another sign-in in the background; such moves are now refused with a message explaining what works.

  4. fix

    Fixed AWS credential_process helpers and Google Cloud default credentials failing when started without a HOME environment variable.

  5. fix

    Fixed an MCP server staying in needs-authentication, and its mcp_tool hooks being skipped, after a token refresh that was briefly refused.

  6. performance

    Improved startup with keyless Console sign-in or other Anthropic profile login by reading a still-valid token without waiting for the credentials lock.

  7. other

    Improved the account email check to also refuse the user's email as a client identity in scripts, file writes, web fetches, and MCP calls.

  8. other

    Improved the claude --desktop sign-in error to name the API key, provider, or setting that blocks a Claude account sign-in.

  9. other

    Improved the messages shown when a background session cannot use its session's API key or token; they no longer suggest adding the key to settings.

  10. other

    Changed /login to ask for permission before changing privacy settings.

  11. other

    Changed the programs the sandbox starts for its own use, such as its network bridge, to run without Claude Code sign-in tokens and API keys in their environment.

  12. other

    Changed ripgrep, local git commands, and sandbox runtime helper programs to run without the mTLS client key passphrase in their environment.

  13. other

    Changed claude -p with no cached account data to wait for that data before the first request, so a first run in a clean environment may start a few seconds later.

  14. feature

    Added a Console sign-in in VS Code that creates no API key.

  15. fix

    Fixed the VS Code sign-in screen offering sign-ins that the managed allowedProviders setting refuses.

  16. other

    Improved the VS Code sign-in card to say what to do when the browser shows a connection error for localhost.

  17. fix

    Fixed Claude Tag artifact links pasted in Slack getting no card when the poster's Claude sign-in expired in an unmanaged workspace; a plain card now appears.

Claude Code v2.1.323

  1. breaking Breaking

    Changed ripgrep and most internal git commands to run without most sign-in tokens and API keys, so credential helpers or hooks under them no longer find them.

  2. fix

    Fixed claude plugin commands and claude mcp list signing out of a Console profile when they ended during token renewal.

  3. fix

    Fixed Claude Code failing to start, or failing to clear stored credentials at sign-out, when saving its configuration file failed with Out of memory.

  4. fix

    Fixed a session on a named Anthropic profile moving to another sign-in when /fork, the Left arrow, or --bg continued it in the background; sessions open during the update must be reopened.

  5. fix

    Fixed a background session sending a conversation under another sign-in when its named profile is missing, changed, or overridden; it now stops and reports this.

+19 more
  1. fix

    Fixed a session on an API key, auth token, or workload identity from its shell moving to another sign-in in the background; it now stops and reports this.

  2. fix

    Fixed MCP tool calls ending in the sign-in server's error, such as TOKEN_EXPIRED, instead of asking the user to sign in again.

  3. fix

    Fixed an expired claude.ai login showing Credit balance too low when a saved Console key or ant auth login profile without credit was used instead.

  4. fix

    Fixed a session on a named Anthropic profile being handed to an older background service that could not keep its sign-in; it now says to restart the service.

  5. fix

    Fixed a background session's sign-in leaving the previous account's login or other credentials in place; it now clears them for every session on the computer.

  6. fix

    Fixed background sessions moving between a profile and the stored login when an update restarted them.

  7. fix

    Fixed sessions opened before a sign-in keeping signed-out feature flags after the sign-in.

  8. fix

    Fixed sessions failing after a Claude apps gateway sign-in expired; they now continue at the next message once signed in again with /login in another terminal.

  9. fix

    Fixed the billing notice naming the ant auth login organization when a custom X-Api-Key header is set.

  10. fix

    Fixed a macOS error showing Not logged in right after a successful /login or token refresh when the keychain was slow to respond.

  11. fix

    Fixed turns failing in Claude Desktop when an organization's gateway answers an expired token with 403; Claude Code now requests a fresh token from Desktop and retries.

  12. fix

    Fixed awsAuthRefresh or gcpAuthRefresh sometimes running twice for one request when three or more sessions needed a fresh sign-in at once.

  13. fix

    Fixed the claude -p warning about an ended claude.ai login to state that claude auth logout also removes saved MCP logins and plugin secrets.

  14. fix

    Fixed /usage hiding limit bars for setup tokens and CLAUDE_CODE_OAUTH_TOKEN; it keeps session and weekly bars and says why the rest are missing.

  15. fix

    Improved sign-in errors in /login and claude setup-token for rejected, unreachable, or timed-out requests so they say what happened and what to check.

  16. other

    Changed /logout in a background session, which had no effect, to sign out every session on the computer, delete stored MCP logins and plugin secrets, and end the session.

  17. fix

    [VSCode] Fixed the sign-in screen showing login choices again after a pasted code; it now shows Signing in until sign-in finishes.

  18. performance

    [VSCode] Improved sign-in errors behind TLS-inspecting proxies so certificate failures say what to do.

  19. feature

    [Remote Control] Added a Try again button to the error shown when the computer running a session is signed out of Claude Code.

Claude Code v2.1.321

  1. fix

    MCP OAuth requests no longer send secrets such as refresh tokens to another host when a server redirects them.

  2. fix

    Sign-in, token refresh and logout no longer wait indefinitely when the network accepts a connection but never answers the TLS handshake.

  3. other

    Sign-in limit messages in Claude Code and on the /device page for the Claude apps gateway no longer name gateway settings.

  4. other

    Messages for an artifact in another organization offer /login only if it is yours, and say where a copy may be after an account move.

  5. other

    The session-feedback message and the allowedProviders setting description now name Ultra alongside Pro and Max, and forceLoginMethod now covers every paid Claude plan.

+1 more
  1. feature

    In VS Code, a warning now appears above the prompt box when both an auth token and an API key are set, matching the terminal startup warning.

Claude Code v2.1.319

  1. feature

    Added a warning when a claude.ai login ends and Claude Code continues on the sign-in from ant auth login, which bills usage to the Claude Console organization.

  2. feature

    Added a startup line naming the Claude Console organization that is billed when Claude Code uses the sign-in from ant auth login.

  3. fix

    Fixed a request that kept failing with a 401 refreshing the login on every retry and causing 401s in other sessions.

  4. fix

    Fixed a roughly 0.5s hang after pressing Enter on the /login success screen; the dialog now dismisses immediately and the post-login refresh runs in the background.

  5. fix

    Fixed a terminal with an expired Claude apps gateway sign-in sending telemetry and managed-settings requests that the gateway refused and logged as invalid_token.

+1 more
  1. other

    [VSCode] Improved the "not signed in" message behind a Claude apps gateway so it looks like an error and has a Sign in link.

Codex 0.167.0

  1. feature

    API key and cloud provider options are available under "Sign in another way", and the gcp_setup_wizard flag sets up Google Cloud Vertex AI with Application Default Credentials or a credential file.

    authonboarding
  2. feature

    Gateway OAuth credentials can be stored in a file.

  3. fix

    Remote executor credentials reload safely across token rotation, and authentication timeout recovery is fixed.

  4. fix

    Auth reload failures are treated as transient during token refresh.

  5. fix

    Fallback token refreshes are preserved when the keyring is unreadable.

+1 more
  1. other

    Provider request preparation auth checks are centralized.

Claude Code v2.1.318

  1. feature

    Adds the stored claude.ai sign-in end date as loginExpiresAt in claude auth status and as credential_expires_at in claude -p JSON results.

  2. feature

    Adds a one-line stderr warning to claude -p text output starting 10 days before a stored claude.ai sign-in ends.

  3. fix

    Fixes /logout, claude auth logout and claude mcp remove reporting success, and dropping trust, consent or MCP setting changes silently, when the config file cannot be updated on a shared network home directory.

  4. fix

    Fixes jobs exiting with Not logged in when another terminal or host signs in again to the same account and organization on the same home.

  5. fix

    Fixes claude plugin commands exiting before a slow token refresh was saved, which could sign the user out on the next run.

+8 more
  1. fix

    Fixes sessions being refused at startup by an allowedProviders list stored by another login on the same machine.

  2. fix

    Fixes the stored login being replaced by an empty file when a network home directory has no room for data but still accepts new files.

  3. fix

    Fixes tokens from setup-token being refused at start on machines with forceLoginOrgUUID when the token belongs to a permitted organization.

  4. fix

    Fixes the sign-in failure when a stored claude.ai login reaches its time limit; it now says so and, in claude -p, names claude auth login and claude setup-token.

  5. other

    Improves how ~/.claude.json, settings files and the stored login survive saves on shared network home directories, making deletion, emptying or replacement by a near-empty or older copy less frequent.

  6. feature

    Adds a gateway log warning when the Google access token from a federation (external_account) credentials file is about to expire.

  7. fix

    Fixes a window whose sign-in the organization's settings refuse from starting a new Claude Code process in the background every minute.

  8. other

    Improves the sign-in screen to show what Claude Code printed when its sign-in status check fails.

Claude Code v2.1.317

  1. fix

    Fixes claude auth status exiting before a slow token refresh was saved, which could sign you out on the next run.

  2. fix

    Fixes a region or network block (HTTP 403) being shown as a sign-in failure; the error now explains the block.

  3. fix

    VSCode: fixes the sign-in screen opening when a request is blocked for its region or network.

OpenAI Python SDK v3.42.1

  1. fix

    Validates beta WebSocket authentication profiles in the realtime API.

Claude Code v2.1.316

  1. fix

    Fixed claude auth login refusing to run where managed settings require a Claude apps gateway; in a terminal it now shows the gateway sign-in.

OpenAI Python SDK v3.42.0

  1. feature

    Keeps callable API keys scoped to each request.

  2. fix

    Preserves refusal output and authentication in WebSocket helpers.

Claude Code v2.1.314

  1. fix

    Fixed MCP servers that also work without sign-in showing "needs authentication" after stored sign-in stopped working; they are now used signed out.

  2. fix

    Fixed claude mcp logout reporting success when the MCP sign-in was not removed, such as while the macOS keychain is locked over SSH.

  3. fix

    Fixed extra sign-in renewals when several sessions share an Anthropic profile login and the credentials lock is busy.

  4. other

    Improved the cloud session error shown while a refused claude.ai login request is retried, which now also suggests claude auth login.

  5. other

    Improved how stored claude.ai, Team and Enterprise logins behave when MDM and remote settings differ on base URL or apiKeyHelper.

+1 more
  1. fix

    Fixed Clear authentication for MCP servers in VS Code reporting success when the saved sign-in could not be removed.

Codex 0.166.0

  1. other

    Enabled masked AWS credentials for local proxy signing.

  2. other

    Clarified config loader APIs and shared interactive login setup.

  3. other

    Integrated runtime authentication into model requests.

  4. other

    Integrated config-server policies with startup and authentication.

  5. other

    Routed FedRAMP API keys to government endpoints by default.

+9 more
  1. other

    Consolidated async header authentication in apply_auth_headers.

  2. other

    Added a credential file override for GCP provider authentication.

  3. other

    Prevented credential collisions in registry auth test fixtures.

  4. other

    Made login token-refresh tests wait for auth publication.

  5. other

    Surfaced refresh-token rejection errors during workspace routing.

  6. other

    Defaulted gateway OAuth delivery to Authorization bearer tokens.

  7. other

    Showed the selected ChatGPT workspace in /status.

  8. feature

    Added experimental ChatGPT workspace switching to app-server.

  9. other

    Shared runtime authentication with model providers and catalogs.

Claude Code v2.1.312

  1. feature

    Added oidc.user_id_claim to the Claude apps gateway to identify people by an id_token claim other than sub, such as Microsoft Entra ID's oid.

Codex 0.165.0

  1. other

    Decoupled managed configuration loading from ChatGPT authentication.

  2. other

    Cached decrypted Codex auth and managed secrets.

Claude Code v2.1.311

  1. other

    Improved the message shown when a pasted sign-in code is refused to say the code may have expired or been used and to sign in again.

MCP registry v1.8.5

  1. docs

    Documented HTTP verification requirements for auth and pinned them with tests.

MCP TypeScript SDK 2.4.0

  1. feature

    Adds an opt-in scopeForRefresh(tokens) method on OAuthClientProvider so token refresh can include scope for authorization servers that require it; the default refresh request is unchanged.

MCP TypeScript SDK @modelcontextprotocol/client@2.4.0

  1. feature

    Adds an optional scopeForRefresh(tokens) method on OAuthClientProvider and an optional scope parameter on refreshAuthorization(), so a scope can be sent on refresh-token requests for authorization servers that require it; without either option, refresh requests and saved tokens are unchanged.

MCP registry v1.8.2

  1. fix

    Device-flow slow_down responses from GitHub are treated as retriable by the publisher (PR #1290).

  2. fix

    Transient device-flow failures are tolerated during login polling (PR #1588).

Codex 0.164.0

  1. feature

    Enterprise MCP connections can authenticate using eligible Codex account grants or dedicated sign-in, including OAuth clients that require secrets.

  2. feature

    Masks credentials during supported remote Bash commands and Zsh snapshot sessions, including credentials from custom providers.

  3. feature

    The Amazon Bedrock setup wizard is enabled by default, and API key entry is grouped with other AWS sign-in methods when credentials are detected.

  4. other

    Enables enterprise-managed authorization for MCP connections.

  5. other

    Enables MCP OAuth refresh coordination by default.

+1 more
  1. other

    Adds support for Academic Researchers plans.

Google GenAI Python SDK v2.33.0

  1. fix

    Skips mTLS URL rewriting for multi-regional .rep.googleapis.com endpoints and honors GOOGLE_API_USE_MTLS_ENDPOINT in Google Auth sessions.

Claude Code v2.1.309

  1. fix

    Features now appear in Claude Code sessions in the Claude desktop app when the terminal on the same computer is signed in to a different account or organization.

Claude Code v2.1.307

  1. fix

    Fixed MCP servers showing 'needs authentication' in claude -p on macOS while the login keychain was locked; they now state the reason, and the next run after unlock connects without a new sign-in.

  2. other

    Improved browser sign-in so the success page appears as soon as sign-in completes, without waiting for the account profile to load.

Gemini CLI Release v0.65.0

  1. fix

    Aligns OAuth callback iss parameter validation with RFC 9207 metadata.

  2. fix

    Prevents infinite verification and OAuth retry loops.

  3. fix

    Clears cached credentials when re-selecting Google login.

Claude Code v2.1.304

  1. fix

    Fixed organization policy not refreshing until the hourly check after approving an ANTHROPIC_API_KEY at startup or switching "Use custom API key" in /config.

  2. fix

    Fixed Remote Control permanently withholding a desktop conversation's history when a different account was signed in to the terminal.

  3. fix

    Fixed OpenTelemetry settings delivered through server-managed settings being ignored for the whole session after signing in during first-run setup or the first start after /logout.

Claude Code v2.1.301

  1. fix

    The login refresh error caused by a full disk now names the disk and says to delete files, instead of saying to run /login.

  2. fix

    Switching to a model whose name contains application-inference-profile no longer runs the awsAuthRefresh command or delays model-switch hooks when the provider is not Bedrock.

  3. fix

    Sign-in refresh timeouts and unexpected sign-outs no longer occur when a short command such as claude auth status or claude plugin list exits during a token refresh.

Claude Code v2.1.300

  1. fix

    A login refused by forceLoginOrgUUID no longer leaves the refused organization's token stored or live after /login.

  2. fix

    claude remote-control servers now retry renewing their connection after a brief sign-in error and warn when claude /login is needed, instead of giving up.

Claude Code v2.1.299

  1. feature

    Added $.session.identity() for managed-settings mods, returning sign-in method and, when forceLoginOrgUUID lists the organization, its organization and email.

  2. fix

    Fixed the error for a denied cloud session pointing to the wrong organization when a key from apiKeyHelper was in use.

  3. fix

    Fixed sign-in, MCP servers and project trust appearing lost on Linux after a sandboxed command left an empty .config.json in the config directory.

  4. fix

    Fixed feature flag, startup, fast mode, profile and feedback requests carrying the API key for a third-party gateway; Anthropic API keys are still sent.

  5. fix

    Fixed managed settings and organization policy not being fetched when a stored login's plan was changed locally on machines whose managed settings set forceLoginOrgUUID.

+4 more
  1. fix

    Fixed forceLoginOrgUUID and forceLoginMethod from MDM or the managed settings file being hidden or replaced by server-managed settings.

  2. fix

    Fixed MCP OAuth sign-in, token refresh and sign-out not sending configured headers or headersHelper values, breaking servers behind an authenticating proxy.

  3. other

    Improved the error for a cloud session refused because the claude.ai login was rejected or expired; it now says to sign in again with claude auth login.

  4. fix

    VSCode: Fixed the mic button showing an internal error when signed out of claude.ai; it now offers to sign in.

Gemini CLI Release v0.65.0-preview.0

  1. fix

    OAuth callback iss parameter validation is aligned with RFC 9207 metadata.

  2. fix

    Infinite verification and OAuth retry loops are prevented.

  3. fix

    Cached credentials are cleared when Google login is re-selected.

Claude Code v2.1.296

  1. fix

    Fixed a Claude apps gateway serving allowedProviders with "gateway" locking out laptops that name that gateway in user settings.

  2. fix

    Fixed a saved Claude apps gateway sign-in being ignored on machines whose managed settings set forceLoginMethod to gateway without forceLoginGatewayUrl (regression in 2.1.295).

  3. other

    Improved the errors for a refused cloud session to say why the organization's policy couldn't be loaded and to name an API key or auth token that overrides the claude.ai login.

Claude Code v2.1.293

  1. fix

    Fixed claude logs, stop, kill, rm, and claude daemon status, stop, and uninstall sometimes signing you out when your login had expired or was about to expire.

Claude Code v2.1.290

  1. fix

    Fixed first launch asking for a login method after claude auth login or with existing credentials.

  2. fix

    Fixed macOS /login reporting success when the keychain refused the new login.

  3. other

    The error for a cloud session without claude.ai sign-in now names claude auth login and /login.

MCP TypeScript SDK 2.3.1

  1. feature

    requireBearerAuth in @modelcontextprotocol/server-legacy accepts an optional expectedResource parameter that restricts accepted tokens to those issued for this server (the token's audience); it is off unless set.

MCP TypeScript SDK @modelcontextprotocol/server-legacy@2.3.1

  1. feature

    requireBearerAuth in @modelcontextprotocol/server-legacy accepts an optional expectedResource option; when set, a token is accepted only if the verifier reports that resource value in AuthInfo.resource, compared as strings ignoring a fragment and one trailing slash.

  2. fix

    Tokens reported for a different resource, or for no resource, are answered with 401 invalid_token and the usual WWW-Authenticate challenge when expectedResource is set; behavior is unchanged when it is not set.

Claude Code v2.1.289

  1. fix

    Reverted a 2.1.288 change to claude auth status in VSCode that may have made sign-outs more frequent.

MCP Python SDK v2.3.0

  1. breaking Breaking

    An interactive OAuth login no longer counts against request timeouts while waiting on redirect_handler and callback_handler; a login that never completes is no longer ended by a request timeout, so a limit must be set inside callback_handler if needed.

Claude Code v2.1.288

  1. feature

    Added a re-authenticate prompt when an MCP server asks for more OAuth scope during a tool call.

  2. fix

    Fixed /login reporting success when credentials could not be saved to secure storage; it now shows the failure and offers a retry when the new login didn't take effect.

  3. fix

    Fixed a second gcpAuthRefresh/awsAuthRefresh browser sign-in opening on wake while another process was signing in.

  4. fix

    Fixed /login in a --bare session running a sign-in the session never reads; it now says which credentials work.

MCP TypeScript SDK 2.3.0

  1. feature

    Added expectedResource option on requireBearerAuth and verifyBearerToken to accept only tokens issued for this server (token audience); off unless set, and Express users should upgrade @modelcontextprotocol/express together with @modelcontextprotocol/server.

    sdkauthexpress
  2. feature

    validateOriginHeader and the allowedOrigins option of the Express, Fastify and Hono app helpers accept <scheme>://* entries such as moz-extension://*.

    authexpressfastifyhono
  3. fix

    SSEClientTransport refreshes once after a 401 on connect instead of retrying without limit.

MCP TypeScript SDK 1.32.0

  1. feature

    Added an expectedResource option to requireBearerAuth that accepts only tokens whose audience is this server; it is off unless set.

Claude Code v2.1.287

  1. fix

    Fixed a revoked claude.ai login showing a generic API Error: 401 instead of "OAuth token revoked"; in -p mode the error starts with "Failed to authenticate".

  2. fix

    Fixed Bedrock, Vertex and Mantle model availability checks under CLAUDE_CODE_SKIP_*_AUTH sending a different Authorization header than real requests when ANTHROPIC_CUSTOM_HEADERS repeats it.

Google GenAI Python SDK v2.26.0

  1. fix

    Reaps aiohttp sessions and auth locks that belong to closed event loops.

Claude Code v2.1.286

  1. fix

    Fixed several Claude Code processes and IDE extensions each opening a login browser when gcpAuthRefresh or awsAuthRefresh credentials expire.

  2. fix

    Fixed macOS sessions still showing "Not logged in" or "Login expired" after /login succeeds in another window when a leftover ~/.claude/.credentials.json exists.

  3. fix

    Fixed claude auth status reporting a Console sign-in's stored API key as claude.ai; it now reports api_key, and the VS Code extension treats that session as an API key session.

  4. fix

    Fixed /status listing an Anthropic profile beside an API key as if both were in effect; the profile is now marked as not in use.

  5. fix

    Fixed a repeat MCP sign-in request replacing the pending sign-in link, which could stop that link from working.

Claude Code v2.1.285

  1. fix

    Fixed sessions authenticating with ANTHROPIC_AUTH_TOKEN against the Anthropic API never loading the organization's policy.

  2. fix

    Fixed a rare auth failure when two sessions recover a login refresh lock left by a crashed process at the same time.

  3. fix

    Fixed sign-in that could wait forever after the browser showed success.

  4. fix

    Fixed VS Code sign-in staying on the authorization-code step after going back and choosing the same method again.

Claude Code v2.1.284

  1. feature

    Added private_key_jwt certificate client authentication between the Claude apps gateway and its identity provider.

  2. fix

    Fixed the Claude apps gateway returning 431 for sign-ins with many identity provider groups; it now accepts request headers up to 256 KiB.

  3. other

    Improved the startup refusal under forceLoginMethod or forceLoginOrgUUID to name the configured credential, where it is set, and how to remove it.

  4. fix

    Fixed VS Code sign-in waiting up to a minute for the Python extension after a window reload.

  5. other

    Changed Claude Tag to post its private sign-in notice at every @mention from unconnected users instead of only the first.

Claude Code v2.1.282

  1. fix

    Fixed requests failing for up to a minute with a login refresh error after another Claude Code process was closed or killed mid-refresh.

  2. fix

    Fixed sessions started while another window was refreshing sign-in not retrying their organization policy fetch.

  3. fix

    Fixed a VS Code editor tab's sign-in screen hanging silently after the extension host restarts; it now shows the stopped-responding notice.

MCP Python SDK v2.2.0

  1. breaking Breaking

    For servers without protected resource metadata, the OAuth client now rejects authorization server metadata whose issuer is not the server's own origin with OAuthFlowError, returns non-insufficient_scope 403 responses to the caller instead of retrying, and stops the flow on 5xx/429 when fetching protected resource metadata instead of falling back to legacy endpoints.

  2. deprecation

    Constructing ClientCredentialsOAuthProvider or PrivateKeyJWTOAuthProvider without issuer= emits MCPDeprecationWarning; issuer will be required in 3.0.

  3. deprecation

    AuthSettings with resource_server_url set but validate_token_resource unset emits MCPDeprecationWarning; the default becomes True in 3.0.

  4. feature

    Adds AuthSettings.validate_token_resource, which accepts only bearer tokens that the TokenVerifier reports as issued for this server.

  5. feature

    Adds issuer= parameter to ClientCredentialsOAuthProvider and PrivateKeyJWTOAuthProvider.

MCP Python SDK v1.30.0

  1. deprecation

    AuthSettings with resource_server_url set but validate_token_resource unset now emits a DeprecationWarning; set it to True or False.

  2. feature

    Adds AuthSettings.validate_token_resource to accept only bearer tokens that the TokenVerifier reports as issued for this server.