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
{{ message }}
Repository navigation
Use resource defined by MCP server provider within OAuth2 resource metadata document (RFC 8707, RFC 9728) #961
Library initiates OAuth2 workflow with predefined resource as the base url to abide RFC 8707. This violates a possibility where MCP belongs under umbrella of exposed functionalities. RFC 8707 permits it in its second paragraph.
There was already implemented resource discovery from OAuth2 resource metadata document defined by RFC 9728 in PR 937 which can access the exposed resource.
Change
Use resource defined by OAuth2 resource metadata document so the creator of MCP and its provider can control what resource are tokens requested for.
Impact
Breaking change: changes default behavior where base url is utilized always for resource and use defined resource by provider when available.
Activity
alexhancock commentedon Jul 28, 2026
There is feedback on the pr @fkonecny
fkonecny commentedon Jul 30, 2026
Given that #962 is merged. This can be safely closed