Faster way to clear a server's OAuth state (without digging into Settings → Authorization)

Đang mở
#3,065 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
22/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ệ
react, typescript
Lĩnh vực
frontend

Hướng nghiên cứu

The current clear action lives in the oauth accordion item of clients/web/src/components/groups/ServerSettingsForm/ServerSettingsForm.tsx; read that component and find the handler behind the "Clear stored OAuth state" button. The design for a faster entry point (server card, context menu, or Connection Info panel) is still open and is being discussed with the UX team, so wait for a direction before writing code. Done means a chosen entry point reaches the same clear handler in fewer steps.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement v2

Problem

Clearing OAuth state for a server is buried several layers deep in the UI:

  1. Open the server's Settings modal
  2. Scroll down to the Authorization accordion section
  3. Expand it
  4. Scroll further within that section
  5. Click "Clear stored OAuth state"

(ServerSettingsForm.tsx — Accordion.Item value="oauth", with the clear
button at the bottom of that panel.)

This is a common action during day-to-day development against a server with
flaky or stale auth (expired tokens, a DCR client re-registered on the
authorization server side, testing a fresh auth flow, etc.), and the current
path requires several clicks and scrolling through unrelated settings just to
reach it.

Ask

Provide a faster way to clear OAuth state for a server without navigating into
Settings → Authorization each time.

Deliberately not prescribing the solution here — there are several
reasonable directions (a quick action on the server card/list, a context menu
item, surfacing it in the Connection Info panel where the OAuth status is
already shown, a keyboard shortcut, etc.), and there are already some UX ideas
for this in progress (via Cliff) that should inform the actual design rather
than this issue dictating it.

Out of scope for this issue

  • Changing what "clear OAuth state" actually does (token revocation behavior,
    etc.) — that's existing, separate behavior.
  • Any specific visual/interaction design — left to follow-up discussion.

References

  • clients/web/src/components/groups/ServerSettingsForm/ServerSettingsForm.tsx
    — current location of the OAuth accordion and clear button
Ngôn ngữ chính
TypeScript
Star
11.3k
Fork
1.6k
Merge trung bình
2 giờ 28 phút
Pull request đã merge (30 ngày)
111

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của modelcontextprotocol/inspector

Tất cả issue của modelcontextprotocol/inspector

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.