Skip to content

test(mcp): qualify SDK OAuth profile - #537

Merged
JAORMX merged 1 commit into
mainfrom
test/issue-520-sdk-oauth
Aug 15, 2026
Merged

JAORMX merged 1 commit into
mainfrom
test/issue-520-sdk-oauth

Conversation

@JAORMX

@JAORMX JAORMX commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • qualify the pinned official MCP Go SDK authorization-code handler through public streamable-HTTP behavior
  • add hermetic protected-resource and authorization-server fixtures covering RFC 9728 discovery, AS selection, scopes/403 step-up, PKCE S256, RFC 8707 resource, preregistration/CIMD/DCR, callback state/issuer, bounded retries, restore/refresh, hostile metadata, redirects, timeouts, and secret hygiene
  • record SDK discrepancies and the constrained future production profile in ADR 0109 without adding production OAuth wiring
  • explicitly leave browser UX, credential persistence, controller wiring, and headless policy to the remaining Native OAuth for streaming-HTTP MCP servers #518 subissues

Verification

  • go test -race ./internal/adapter/mcp -run '^TestSDKAuthorizationCode' -count=1
  • task generate
  • task docs:check
  • task lint
  • task test
  • go run ./cmd/mecademo
  • independent spec/security/QA review with two repair waves

Closes #520
Part of #518

Closes #520

Co-Authored-By: Juan Antonio Osorio <[email protected]>
@JAORMX
JAORMX force-pushed the test/issue-520-sdk-oauth branch from 25fe9c4 to 6ea4b41 Compare August 15, 2026 09:59
@JAORMX
JAORMX merged commit 224c2a1 into main Aug 15, 2026
15 checks passed
@JAORMX
JAORMX deleted the test/issue-520-sdk-oauth branch August 15, 2026 11:14
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.

Qualify the official MCP Go SDK authorization-code profile

1 participant