Sign-out: a logout to each marked URL carries the one stored Basic Auth credential

Abierto
#1,971 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

The payload names no files. Start by finding where the per-entity Basic Auth credential is saved and where sign-out loops over the URLs an entity is marked at, which is the logic added in #1969. Choosing between the two fix directions needs a maintainer decision first. Done when a logout to a URL the credential was not entered for is sent without that credential, with a test covering it.

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

Descripción

What happens

Studio stores one Basic Auth credential per entity (a cluster or instance), not per URL. A sign-in marker records the URL signed into, and an entity can end up marked at more than one URL, for example after its domain changes. When a sign-out logs out each URL an entity is marked at (#1969), every one of those logout requests carries that single stored credential, including to a URL it was never used with.

Why it's small

The URLs belong to the same entity, and the request is a logout. But a credential going to a host it wasn't entered for is worth closing.

Fix direction

Either store the credential with the URL it was entered for and send it only there, or send the logout with the credential only to the URL the credential was saved for, and without it to the others.

Review-Deferral: face1e3da4c920f7 severity=nit category=security

Raised by the cross-model review of #1969 (#1968). Pre-existing; not introduced there.

🤖 Generated by Anthropic Claude Code (Claude Opus 5.5); posted via @dawsontoth.

Lenguaje dominante
TypeScript
Estrellas
5
Forks
4
Merge medio
1 d 19 h
PR fusionados (30 d)
144

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 HarperFast/studio

Todos los issues de HarperFast/studio

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.