DCR ignores advertised token endpoint authentication methods
Maintainer antworten meist innerhalb von 2 Tagen
@bolinfest arbeitet bereits daran.
Seit 14.10.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Problem
AuthorizationManager::register_client currently always sends
token_endpoint_auth_method: "none". An authorization server can advertise
token_endpoint_auth_methods_supported, including
client_secret_basic or client_secret_post, but dynamic registration does
not currently use that metadata.
This prevents registration against servers that require a confidential client
authentication method. It can also register a confidential method without
checking that the registration response supplied the secret needed to use it.
Proposed direction
- Preserve the current public-client behavior when the metadata field is
omitted. - When the field is present, choose the first SDK-supported method in this
preference order:none,client_secret_basic, then
client_secret_post. - Reject a malformed, empty, or unsupported advertised method list before
sending a registration request. - If a confidential method is selected, require a non-empty client secret in
the registration response. - Continue using the existing OAuth client configuration for Basic and POST
authentication after registration.
The preference for none preserves a public client when the server supports
one; Basic is preferred over putting a secret in the request body when a
confidential client is required.
Planned validation
Focused recording-client tests would cover omitted metadata, each supported
method, mixed-method preference, malformed/empty/unsupported metadata, and
missing or empty confidential-client secrets. The rejection cases would also
verify whether a registration request was sent.
Would this selection and compatibility policy be acceptable for a focused PR?
- Vorherrschende Sprache
- Rust
- Sterne
- 4k
- Forks
- 662
- Ø Merge
- 3 T. 20 Std.
- Gemergte PRs (30 T.)
- 30
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus modelcontextprotocol/rust-sdk
-
Streamable HTTP client: a 401 or 403 with a JSON-RPC error body and no WWW-Authenticate loses its HTTP statusEvtl. vergeben @aton-of-data hat das vor 5 Tagen übernommen. Offenbug P2 ready for work T-security T-transport
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
modelcontextprotocol/rust-sdk#1339 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
auth: refresh_token() requests offline_access that was never granted, so refreshes fail with invalid_scopeEvtl. vergeben @jstar0 hat das vor 8 Tagen übernommen. Offenbug P1 ready for work T-security T-transport
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
modelcontextprotocol/rust-sdk#1330 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
P3 question Stale T-documentation T-enhancement
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
modelcontextprotocol/rust-sdk#1155 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Expose OAuth discovery and registration results for application-owned flowsEvtl. vergeben @connor4312 hat das heute übernommen. Offenenhancement P2 ready for work T-security
modelcontextprotocol/rust-sdk#1371 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Two rmcp tests fail on Windows: connection-refused text check and `npm` spawn in test_with_jsEvtl. vergeben @bolinfest hat das vor 1 Tag übernommen. Offenbug P2 ready for work T-test
modelcontextprotocol/rust-sdk#1364 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in modelcontextprotocol/rust-sdk
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
shep-pm/shep-kelpie#980 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug frontend rt sev-3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
C-bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adaptersOffentriage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
dbt-labs/dbt#16784 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:cli bug good first issue priority:medium
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
rtk-ai/rtk#4615 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag