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

Aperta
#720 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@chr-hertel ci sta già lavorando.

Dal 10/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
PHP
Stelle
1.7k
Fork
206
Merge medio
1g 17h
PR unite (30g)
102

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di modelcontextprotocol/php-sdk

Tutte le issue di modelcontextprotocol/php-sdk

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.