Skip to content

fix(mcp): persist OAuth discovery state - #39362

Closed
rekram1-node wants to merge 1 commit into
devfrom
oauth-discovery-state
Closed

fix(mcp): persist OAuth discovery state#39362
rekram1-node wants to merge 1 commit into
devfrom
oauth-discovery-state

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • persist MCP OAuth discovery metadata across the browser redirect
  • implement the SDK v2 discovery-state provider hooks for normal and pending auth flows
  • support discovery and verifier credential invalidation scopes

This restores SEP-2352 callback-leg authorization-server binding and removes the SDK warning about unavailable discovery state.

Verification

  • bun test test/mcp/oauth-provider.test.ts test/mcp/oauth-callback.test.ts
  • bun typecheck
  • git diff --check

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