Skip to content

fix(client): accept compatible DCR success responses - #50

Merged
kauandotnet merged 1 commit into
mainfrom
codex/oauth-dcr-response-compatibility
Sep 3, 2026
Merged

fix(client): accept compatible DCR success responses#50
kauandotnet merged 1 commit into
mainfrom
codex/oauth-dcr-response-compatibility

Conversation

@kauandotnet

Copy link
Copy Markdown
Contributor

Summary

  • accept any successful 2xx legacy DCR response, matching the official MCP SDK
  • allow optional registered metadata to be omitted while rejecting conflicting values when present
  • keep redirect binding, response bounds, endpoint policy, and public-client authentication checks intact

Verification

  • pnpm run check
  • pnpm exec vitest run packages/mcp-client/tests/oauth-dynamic-registration.test.ts

@kauandotnet
kauandotnet merged commit 04f7b7d into main Sep 3, 2026
5 checks passed
@kauandotnet
kauandotnet deleted the codex/oauth-dcr-response-compatibility branch September 3, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant