Enterprise-managed auth: ID-JAG `resource` claim should be optional
Maintainer antworten meist innerhalb von 3 Tagen
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
IdJagClaims.resource in transport/auth/enterprise.rs is required, so an ID-JAG without a resource claim fails with "malformed ID-JAG claims".
The spec makes it optional. The MCP EMA extension §4.3 says the claim "MUST contain the Resource Identifier of the MCP Server if present", and ID-JAG draft-04 §3.1 lists it as OPTIONAL. Some enterprise IdPs omit it, so rmcp-based clients such as Codex reject valid assertions.
Proposed fix: make the claim Option<Resource>. Exact-match it when present (as today); when absent, rely on the existing aud check. Still reject an explicit null, "" or [].
Happy to send a PR with tests.
- Vorherrschende Sprache
- Rust
- Sterne
- 4.1k
- Forks
- 680
- Ø Merge
- 3 T. 23 Std.
- Gemergte PRs (30 T.)
- 34
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
-
auth: refresh_token() requests offline_access that was never granted, so refreshes fail with invalid_scopeEvtl. vergeben @jstar0 hat das vor 21 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 3 Tagen
-
Return merged cache hints from list_all_* client methodsEvtl. vergeben @gocamille hat das heute übernommen. Offenenhancement P2 ready for work T-service
modelcontextprotocol/rust-sdk#1411 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 3 Tagen
-
auth: refresh_token() always sends `scope`, so refresh fails against Salesforce ("scope parameter not supported")Evtl. vergeben @gocamille hat das heute übernommen. Offenbug P1 ready for work T-security T-transport
modelcontextprotocol/rust-sdk#1408 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Auto discovery timeout rejects a late probe response during legacy initializationEvtl. vergeben @gocamille hat das vor 2 Tagen übernommen. Offenbug P1 ready for work T-service
modelcontextprotocol/rust-sdk#1400 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 3 Tagen
-
URL mode elicitation requires elicitationId, which the 2026-07-28 schema removedEvtl. vergeben @gocamille hat das vor 2 Tagen übernommen. Offenbug P1 ready for work T-model
modelcontextprotocol/rust-sdk#1399 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 3 Tagen
Alle Issues in modelcontextprotocol/rust-sdk
Ähnliche Issues
-
good first issue help wanted r-docs
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
servo/rust-smallvec#824 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
superradcompany/microsandbox#1974 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
Maintainer antworten meist innerhalb von 1 Tag
-
priority middle
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 62/100
KATO-Hiro/AtCoderClans#12940 ·
Maintainer antworten meist innerhalb von 1 Tag