Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Enterprise-managed auth: ID-JAG `resource` claim should be optional

Offen
#1,404 2 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 3 Tagen

@gocamille arbeitet bereits daran.

Seit 28.10.2026.

  • #1406 von @daviddanialy — offen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

bug P1 ready for work T-security T-transport

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

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus modelcontextprotocol/rust-sdk

Alle Issues in modelcontextprotocol/rust-sdk

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.