Enterprise-Managed Authorization: say how the Resource Authorization Server gets the IdP's signing keys
@pcarleton 已经在做这个了。
开始于 2026年10月6日。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
调研方向
Start with section 5.1 and the referenced ID-JAG §4.4.1, then compare the OpenID Connect Discovery and RFC 8414 metadata requirements. Done means the specification explains how the Resource Authorization Server obtains signing keys and includes the proposed User-Agent guidance, with the origin, rotation, and multi-tenant questions resolved.
由索引模型根据 Issue 内容生成。
描述
Problem
Section 5.1 sends ID-JAG processing to §4.4.1 of draft-ietf-oauth-identity-assertion-authz-grant-04, which requires a valid signature. Neither document says how the Resource Authorization Server finds the IdP's signing keys. The draft assumes the Resource Authorization Server already trusts the IdP, but trusting an issuer doesn't tell you where its keys are.
We implement this extension in Notion's hosted MCP server and have tested it against several IdPs. Each implementation has to choose, on its own:
- how to find the keys (
jwks_urifrom OpenID Connect Discovery, from RFC 8414 metadata, or configured by hand); - whether
jwks_urimust be on the issuer's origin; - when to refetch keys after rotation;
- how to handle multi-tenant issuers.
One failure from our testing shows the cost. An IdP behind a CDN web application firewall returned 403 to our JWKS fetch, because the library making it sent no User-Agent. Our discovery fetch to the same host sent one and got 200. Nothing in the spec chain told either side what to expect. (Library fix: cloudflare/workers-oauth-provider#394.)
Proposal
Additive, no breaking changes. In section 5.1:
- The Resource Authorization Server SHOULD get the IdP's signing keys from the
jwks_uriin the metadata for the ID-JAG'siss, found with OpenID Connect Discovery 1.0 or RFC 8414. - A non-normative note: metadata, JWKS, and Client ID Metadata Document fetches are ordinary HTTP requests, so they SHOULD include a
User-Agentper RFC 9110 §10.1.5. IdPs commonly sit behind firewalls that block requests without one.
Open questions
- Should rule 1 live here, or in the ID-JAG draft so it covers non-MCP uses too?
- Should
jwks_urihave to share the issuer's origin? We require it today. It narrows where keys can come from, but some IdPs may host keys on a separate domain. - Is refetch-on-unknown-
kidguidance for key rotation in scope?
This looks to us like a clarification that doesn't need a SEP. We're happy to follow the SEP process if the maintainers prefer, and to send a PR with the wording.
- 主要语言
- MDX
- 星标
- 165
- 派生
- 54
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelcontextprotocol/ext-auth 的其他 Issue
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
modelcontextprotocol/ext-auth#32 · 1 条评论 ·
-
DEBUG未关闭bug
难度 5/5 一周以上 新手友好度 10/100
-
Add Authorization Flow for MCP client server hosts extension可能已有人在做 @sberyozkin 于 183 天前认领。 未关闭enhancement
难度 5/5 一周以上 新手友好度 30/100
modelcontextprotocol/ext-auth#26 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
modelcontextprotocol/ext-auth#21 · 1 条评论 ·
查看 modelcontextprotocol/ext-auth 的全部 Issue
相似的 Issue
-
clawsweeper:needs-product-decision clawsweeper:needs-security-review clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:security issue-rating: 🦞 diamond lobster P2
难度 2/5 1-3 小时 新手友好度 68/100
openclaw/openclaw#166870 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 62/100
opfab/operatorfabric-core#10653 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
stripe/stripe-cli#2130 ·
维护者通常 1 天内回复
-
area/install documentation good first issue
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
CLI: TUI shows onboarding when the provider's API key is only in the environment (e.g. OPENROUTER_API_KEY)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭CLI
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复