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

Ouverte
#3,065 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
22/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
react, typescript
Domaine
frontend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
Langage dominant
TypeScript
Étoiles
11.3k
Forks
1.6k
Merge moyen
2 h 28 min
PR mergées (30 j)
111

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de modelcontextprotocol/inspector

Toutes les issues de modelcontextprotocol/inspector

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.