Skip to content

[Conformance] Take the expected issuer of pre-registration from the runner - #716

Merged
chr-hertel merged 1 commit into
modelcontextprotocol:mainfrom
chr-hertel:conformance-expected-issuer
Nov 9, 2026
Merged

chr-hertel merged 1 commit into
modelcontextprotocol:mainfrom
chr-hertel:conformance-expected-issuer

Conversation

@chr-hertel

Copy link
Copy Markdown
Member

Follow-up to #666: the runner passes the issuer next to the pre-registered credentials, so the client pins it like an application would, instead of asking the server under test for it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the update that pins pre-registration to the runner-provided issuer.

No open issues 🎉

What changed in this PR

Updates the conformance client to pin the pre-registration issuer supplied by the runner, rather than trusting issuer discovery from the server under test.

Changes:

  • Reads pre-registered credentials and the expected issuer together from the runner context.
  • Removes the issuer-discovery helper, unused imports, and URL parameter from authenticator setup.
File Description
tests/​Conformance/​client.php Uses the runner-provided issuer for pre-registration and simplifies OAuth setup.

Review effort: Balanced

@chr-hertel
chr-hertel merged commit 74d9203 into modelcontextprotocol:main Nov 9, 2026
33 checks passed
@chr-hertel
chr-hertel deleted the conformance-expected-issuer branch November 9, 2026 23:51
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.

2 participants