ReleaseCloudflare (Workers AI)Cloudflare (Workers AI)published Oct 22, 2026seen 1d

cloudflare/workers-oauth-provider v1.2.4

cloudflare/workers-oauth-provider

Open original ↗

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's resource on every refresh, so after a server dropped a resource (an /sse endpoint, or the bare origin a 0.x server advertised at its root metadata URL), those refreshes got invalid_target. The MCP SDKs throw on invalid_target, so the user stayed stuck until they removed the server. On invalid_grant they 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.