You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Dynamic Client Registration (DCR) OAuth support for MCP servers
This commit implements PR #129 changes with adaptations for the latest main branch:
* Add mcp-oauth-dcr feature flag support to commands and gateway configuration
* Implement OAuth 2.0 Dynamic Client Registration (RFC 7591) for public clients
* Add OAuth 2.0 Authorization Server Discovery (RFC 8414) and Protected Resource Metadata (RFC 9728)
* Support token event handling for OAuth client invalidation on token refresh
* Add secure OAuth credential helper using docker-credential-desktop
* Update MCP remote client to automatically add OAuth Bearer tokens
* Add DCR client management methods to desktop auth client
* Update server enable/disable commands to support DCR feature flag
* Add comprehensive WWW-Authenticate header parsing (RFC 6750)
* Add InvalidateOAuthClients method to gateway client pool
* Include OAuth configuration in catalog server types
Key features:
- Automatic OAuth server discovery from MCP server 401 responses
- Public client registration using PKCE for enhanced security
- Secure token storage via system credential store
- Automatic token refresh handling with client pool invalidation
- Full compliance with OAuth 2.0/2.1 and MCP Authorization specifications
All tests pass and build succeeds.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments