cloudflare/workers-oauth-provider v1.2.4
cloudflare/workers-oauth-provider
Captured source
source ↗published Oct 22, 2026seen 1dcaptured 1dhttp 200method plain
v1.2.4
Repository: cloudflare/workers-oauth-provider
Tag: v1.2.4
Published: 2026-10-22T14:59:14Z
Prerelease: no
Release notes:
Patch Changes
- #415 `6b50ae3` Thanks @mattzcarey! - A refresh of a grant bound to a resource the server no longer hosts now fails with
invalid_grant, even when the request names that resource. MCP clients repeat their grant'sresourceon every refresh, so after a server dropped a resource (an/sseendpoint, or the bare origin a 0.x server advertised at its root metadata URL), those refreshes gotinvalid_target. The MCP SDKs throw oninvalid_target, so the user stayed stuck until they removed the server. Oninvalid_grantthey discard their tokens and sign the user in again. The description now says so: "The authorization grant is bound to a resource this server no longer serves. Authorize again."
A refresh of a valid grant that names a resource the server doesn't host still gets invalid_target. The resource is still checked before the tokenExchangeCallback runs or anything is written.