[Client] Test cross-app access against a real identity provider

Offen
#720 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@chr-hertel arbeitet bereits daran.

Seit 10.11.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

auth Client

Cross-app access from #669 has only been tested against the auth/enterprise-managed-authorization conformance scenario so far. The mock checks the shape of our requests, but not that a real identity provider accepts them, and it is much less strict about the token exchange than a real one would be. Keycloak, which our E2E suite uses, can't issue ID-JAGs.

Once a provider supports it (Okta's Cross App Access looks like the first candidate), let's run the whole chain against it:

  • ID token => ID-JAG at the identity provider, with the right audience, resource and client credentials
  • ID-JAG => access token at the MCP authorization server, with the issuer pinned
  • an ID token that has expired or was issued for someone else gets refused

If it holds, we add it to tests/E2E where possible and drop the experimental note in docs/client/authorization.md.

Vorherrschende Sprache
PHP
Sterne
1.7k
Forks
206
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
102

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus modelcontextprotocol/php-sdk

Alle Issues in modelcontextprotocol/php-sdk

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.