Surface OAuth fetch-guard refusals as warnings when discovery falls back
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- authentication, cli, frontend
Hướng nghiên cứu
Start by tracing the OAuth discovery flow and the FetchTargetError raised by the destination guard, then find how warnings are presented in the CLI/mcpdo stderr, TUI Auth tab, and web Network/OAuth view. The issue does not name files or tests, so locate those entry points and check existing UI and CLI tests. Done when each surface shows the refusal even if discovery continues through a fallback URL.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Which client?
All / shared core
The problem
When the OAuth destination guard (#2749) refuses a metadata URL the server advertised, the SDK's discovery may fall back to another URL, and the user only sees a later, unrelated-looking failure (for example a Dynamic Client Registration 401 at the server's own origin). The refusal that changed the path is not shown anywhere, which makes misconfigured or hostile metadata hard to diagnose.
Solution you have in mind (optional)
Record each FetchTargetError raised during an OAuth flow and surface it: a warning line on CLI/mcpdo stderr, the TUI Auth tab and the web Network/OAuth view (e.g. "Refused to fetch : link-local or metadata address"), even when the flow continued down another path.
Alternatives or workarounds you have tried
None today; the refusal is only visible by adding logging to the guard.
Already built it locally?
No response
Before you submit
- I searched existing issues and this is not a duplicate.
- This is a request for the Inspector itself, not for the MCP specification or an SDK.
- Ngôn ngữ chính
- TypeScript
- Star
- 11.2k
- Fork
- 1.6k
- Merge trung bình
- 4 giờ 49 phút
- Pull request đã merge (30 ngày)
- 139
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của modelcontextprotocol/inspector
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
modelcontextprotocol/inspector#2859 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chore dependabot v2
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
modelcontextprotocol/inspector#2861 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
modelcontextprotocol/inspector#2860 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement v2
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
modelcontextprotocol/inspector#2845 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement v2
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
modelcontextprotocol/inspector#2844 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của modelcontextprotocol/inspector
Issue tương tự
-
Add API: BlockVectra Data APIĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
remotion-dev/remotion#12905 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
supermomonga/paseo-plugin-zcode-provider#83 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
oxidecomputer/skepsis#102 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
voidzero-dev/void#677 ·
Maintainer thường phản hồi trong vòng 1 ngày