Authorization server selection is first-in-list for pre-provisioned providers

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

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

Start by reading the authorization server selection paths named in the issue: _select_authorization_server and _preferred_authorization_server. Trace how the advertised server list is chosen when no issuer is configured, and assess which server should receive the pre-provisioned provider's Basic auth. Done means the selection behavior and its handling of the durable client secret are clearly defined and covered.

索引モデルが issue の本文から書いたものです。

説明

question

With no issuer configured, _select_authorization_server returns advertised[0], and _preferred_authorization_server only filters by issuer when one is set, falling back to advertised[0] otherwise. So the resource server's list order decides which authorization server receives the pre-provisioned provider's Basic auth, which carries a durable client_secret rather than an expiring bearer.

Is first-in-list the intended selection when the list carries more than one server, and how would you classify a durable client secret placed with the first entry of a list the resource server controls?

主要言語
Python
スター
25k
フォーク
4.2k
平均マージ
10分
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

modelcontextprotocol/python-sdk のほかの issue

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

似ている issue

Python の issue をもっと見る

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

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