Unclear The exact length of the warning window before expiry is not known.
Some organisations sign Claude Code in through their identity provider, the service that manages company logins, using a certificate with the private_key_jwt method. Claude Code now checks that certificate every time it uses it, not just once at startup. It logs a warning when the certificate is close to expiring or is not valid yet. The warning is limited so it does not repeat constantly, and it includes steps to rotate the certificate, starting with "To rotate: add a new certificate at the IdP and keep this one".
A certificate with no subject no longer makes the log line crash.
Administrators get advance notice before sign-ins stop working, with instructions to replace the certificate in time.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
> Claude normally selects CIMD only when the authorization-server metadata advertises both `client_id_metadata_document_supported: true` and `"none"` in `token_endpoint_auth_methods_supported`, and otherwise looks for a `registration_endpo…connectors/building/lazy-authentication see the edit
Give the gateway the private key and the certificate in a `client_assertion` block. Leave `client_secret` out, because the gateway refuses to start when one is set together with `private_key_jwt`. This `oidc` block authenticates the gatewa…claude-apps-gateway-config see the edit
The exact length of the warning window before expiry is not known.
Anthropic's documentation has since written up private_key_jwt, on Claude apps gateway configuration.