RFC 9728 resource is used instead of base url when possible#962
Open
fkonecny wants to merge 1 commit into
Open
RFC 9728 resource is used instead of base url when possible#962fkonecny wants to merge 1 commit into
fkonecny wants to merge 1 commit into
Conversation
DaleSeo
reviewed
Jul 7, 2026
alexhancock
reviewed
Jul 16, 2026
alexhancock
approved these changes
Jul 17, 2026
Contributor
|
@filip-konecny-tfs Can you take a look at the red checks? Once resolved we can move forward |
fkonecny
force-pushed
the
feat/rfc-9728-utilize-declared-oauth-resource
branch
from
July 20, 2026 08:36
0ad8259 to
1e3ae88
Compare
fkonecny
force-pushed
the
feat/rfc-9728-utilize-declared-oauth-resource
branch
from
July 20, 2026 08:49
1e3ae88 to
8b48170
Compare
Author
|
@alexhancock I did squash the commits and shortened the message so I can pass the lint message checks. Which erased the history of checks (sorry). The public API check is confusing me as it refers things which I did not initiate, at least I think. The semver check is confusing me, should I be the one bumping it? I can if you wish to do so. P.S. @filip-konecny-tfs is my work account which I should not use for this type of activities :-). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
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.
Use resource defined by OAuth2 resource metadata document so the creator of MCP and its provider can control what resource are tokens requested for.
How Has This Been Tested?
2 tests were added:
PR 937 already handles situations where document has missing resource.
Breaking Changes
Breaking change: changes default behavior where base url is utilized always for resource and use defined resource by provider when available.
Types of changes
Checklist
Additional context