Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .changeset/wise-parrots-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
'@cloudflare/workers-oauth-provider': patch
---

feat: add Client ID Metadata Document (CIMD) support

(by @mattzcarey in https://github.com/cloudflare/workers-oauth-provider/issues/112)

CIMD support allows clients to use HTTPS URLs as client_id values that
point to metadata documents.

When a client_id is an HTTPS URL with a non-root path, the provider
fetches and validates the metadata document instead of looking up in KV
storage. Added validation to ensure client_id in the document matches
the URL and redirect_uris are present.

matches the new authorization spec for MCP

https://modelcontextprotocol.io/specification/draft/basic/authorization
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ on:
jobs:
release:
permissions:
id-token: write # Required for trusted publishing
contents: write
pull-requests: write

if: ${{ github.event.workflow_run.conclusion == 'success' && github.repository_owner == 'cloudflare' }}
timeout-minutes: 5
Expand Down
20 changes: 0 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
# @cloudflare/workers-oauth-provider

## 0.2.0

### Minor Changes

- [#122](https://github.com/cloudflare/workers-oauth-provider/pull/122) [`7187f9e`](https://github.com/cloudflare/workers-oauth-provider/commit/7187f9e5db41903431e0d1d6889dc0be0577967b) Thanks [@threepointone](https://github.com/threepointone)! - feat: add Client ID Metadata Document (CIMD) support

(by @mattzcarey in https://github.com/cloudflare/workers-oauth-provider/issues/112)

CIMD support allows clients to use HTTPS URLs as client_id values that
point to metadata documents.

When a client_id is an HTTPS URL with a non-root path, the provider
fetches and validates the metadata document instead of looking up in KV
storage. Added validation to ensure client_id in the document matches
the URL and redirect_uris are present.

matches the new authorization spec for MCP

https://modelcontextprotocol.io/specification/draft/basic/authorization

## 0.1.1

### Patch Changes
Expand Down
Loading