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

Aperta
#3,065 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
22/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
TypeScript
Stelle
11.3k
Fork
1.6k
Merge medio
2h 28m
PR unite (30g)
111

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di modelcontextprotocol/inspector

Tutte le issue di modelcontextprotocol/inspector

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.