The gateway can authenticate callers with Anthropic-issued JWTs verified against a remote key endpoint.
What's wrong with this entry?
The gateway server can now accept requests authenticated by cri+jwt-typed ES256 tokens instead of a shared key. Turn it on with cri.enabled: true in the gateway config. Tokens are verified against keys fetched from https://api.anthropic.com/api/oauth/cri, must carry the inference scope and belong to an allowlisted organisation. If the keys cannot be fetched the gateway answers 503 with jwks_unavailable.
- Fetched keys are cached, honouring the
cache-control: max-ageheader on the key response. - Setting
cri.jwks_url, or an issuer other than the default, is rejected at startup unless the value is loopback andCLAUDE_GATEWAY_ALLOW_LOOPBACKis set. - None of this verification code exists in 2.1.227.
cri+jwt
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.221
Plugin install now tells you when higher-precedence settings keep it disabled
Both mention enabled
-
v2.1.223
Skills discovery skips disabled plugins
Both mention enabled
-
v2.1.227
claude gatewaynow identifies itself as the gateway providerBoth mention gateway