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

Aberta
#720 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@chr-hertel já está trabalhando nisso.

Desde 10/11/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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.

Linguagem predominante
PHP
Estrelas
1.7k
Forks
206
Merge médio
1d 17h
PRs com merge (30d)
102

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de modelcontextprotocol/php-sdk

Todas as issues de modelcontextprotocol/php-sdk

Issues semelhantes

Mais issues de PHP

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.