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

オープン
#720 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@chr-hertel がすでに取り組んでいます。

2026年11月10日 から。

評価

この issue はまだ評価されていません。

説明

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.

主要言語
PHP
スター
1.7k
フォーク
206
平均マージ
1日 17時間
マージ済み PR(30日)
102

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/php-sdk のほかの issue

modelcontextprotocol/php-sdk の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。