OAuth DCR omits token_endpoint_auth_method, so token exchange fails on client_secret_basic servers
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go
調査の方向性
Start with RegisterClientWithClient and ExchangeCodeForTokenWithClient in the OAuth client code, and compare the auth method sent at registration with the client-secret handling in the token request. Reproduce by registering against a server that defaults to client_secret_basic and checking which credential placement the exchange uses. Done when both steps use the same method, and the exchange follows the token_endpoint_auth_method the server returns.
索引モデルが issue の本文から書いたものです。
説明
RegisterClientWithClient sends no token_endpoint_auth_method, so servers register the client as client_secret_basic (the RFC 7591 default). ExchangeCodeForTokenWithClient then sends client_secret in the form body (client_secret_post). Supabase-based auth servers reject this, and the OAuth prompt repeats.
Repro (v1.150.0): add https://mcp.structured.app/mcp as a remote MCP and authorize. The token exchange returns 400: invalid authentication method: client is registered for 'client_secret_basic' but 'client_secret_post' was used.
- Registration and token exchange use the same auth method.
- Token exchange honors the method the server returns at registration.
Workaround: register a public client by hand and set remote.oauth.clientId.
- 主要言語
- Go
- スター
- 4.4k
- フォーク
- 508
- 平均マージ
- 7時間 52分
- マージ済み PR(30日)
- 237
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker/docker-agent のほかの issue
-
pkg/hooks tests fail with a misleading assertion when jq is not installed対応中かも @dwin-gharibi が 52 日前に担当しました。 オープンarea/testing
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
docker/docker-agent#4052 ·
メンテナーはふだん 1 日以内に返信
-
`remove_directory` and `create_directory` hide work they already did when a later path fails対応中かも @dwin-gharibi が 70 日前に担当しました。 オープンarea/tools
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
docker/docker-agent#3933 ·
メンテナーはふだん 1 日以内に返信
-
`edit_file` silently edits the first match when `oldText` occurs more than once対応中かも @dwin-gharibi が 70 日前に担当しました。 オープンarea/tools
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
docker/docker-agent#3929 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
area/docs
難易度 2/5 1時間未満 初心者へのやさしさ 25/100
docker/docker-agent#4607 ·
メンテナーはふだん 1 日以内に返信
-
area/docs area/models area/providers/gemini area/runtime automated
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
docker/docker-agent#4600 ·
メンテナーはふだん 1 日以内に返信
docker/docker-agent の issue をすべて見る
似ている issue
-
area/import kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
kind/documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
kubernetes-sigs/dra-driver-nvidia-gpu#1569 ·
メンテナーはふだん 1 日以内に返信
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
openclaw/openclaw-enterprise#2571 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
-
[BUG] Keycloak OIDC group search fails for non-ASCII (e.g. Chinese) search terms with "unexpected end of JSON input"対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信