CredentialsManager should also extract scopes when populating auth schemes
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
src/google/adk/auth/credential_manager.py の 443 行目付近から始めます。ここでは CredentialsManager が OAuth Authorization Code Flows の auth scheme を設定しています。discovery レスポンスの scopes_supported フィールドと auth scheme オブジェクトを比較し、サポートされている scopes がコピーされることを確認します。認可 URL が、手動で重複させることなく、それらの検出された scopes を使用できれば変更は完了です。
索引モデルが issue の本文から書いたものです。
説明
Today, when CredentialsManager populates the auth scheme for OAuth Authorization Code Flows, it only populates the Authorize and Token URLs.
Looking at the discovery documents created by FastMCP, the document also contains the supported scopes, which are required when creating the authorization URL. The field's name in the discovery file is scopes_supported
(see step 2, Protected Resource Metadata Discovery)
Currently the alternative is to manually add these scopes to the AuthScheme when configuring it, basically duplicating what is already available to the code through the discovery endpoint.
Please consider adding the required code to also copy the scopes from the discovery response to the auth scheme object.
- 主要言語
- Python
- スター
- 21.6k
- フォーク
- 4k
- 平均マージ
- 7時間 10分
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/adk-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
google/adk-python#7265 · コメント 1 件 ·
-
mcp
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
google/adk-python#7217 · コメント 3 件 · 担当者 1 名 ·
-
tools
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
google/adk-python#7206 · コメント 1 件 · 担当者 1 名 ·
-
request clarification tools
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
google/adk-python#7205 · コメント 2 件 · 担当者 1 名 ·
-
mcp request clarification
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
google/adk-python#7196 · コメント 2 件 · 担当者 1 名 ·
google/adk-python の issue をすべて見る
似ている issue
-
agent-ready documentation needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
instance instance add
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
searxng/searx-instances#939 · コメント 1 件 ·
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100