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

Abierto
#3,065 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
22/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
react, typescript
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
TypeScript
Estrellas
11.3k
Forks
1.6k
Merge medio
2 h 28 min
PR fusionados (30 d)
111

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de modelcontextprotocol/inspector

Todos los issues de modelcontextprotocol/inspector

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.