Implement device login for `ovsx`

Abierto
#2,188 0 comentarios 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
java, node.js, typescript

Línea de trabajo

Read RFC 8628 and the requested ovsx login flow: CLI shows a user-code link, polls with client id/key and device code, then stores a scoped token in the system keychain. Trace existing CLI auth/login and token storage, plus the Java backend and web UI authorization paths that must issue and complete the device grant. Done means publishers can authorize the CLI from the browser and the CLI receives and persists a working token without inventing extra scope beyond the issue.

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

Descripción

cli enhancement priority:low server

It would be a real UX improvement if we implemented a device login flow on the CLI. Publishers would run ovsx login, and a link with a user code would be provided, taking them to the web UI (prompting login if they aren't already logged in).

From there, they'd authorize the device — in this case, the CLI — to act on behalf of their publisher account. This should generate an access token that gets forwarded to the CLI, ideally scoped to just what it needs.

Meanwhile, the CLI would keep polling the server using its client ID, key, and the previously generated device code. Once the backend has generated the token, the CLI should store it in the system keychain.

RFC 8628

Lenguaje dominante
Java
Estrellas
2.1k
Forks
362
Merge medio
1 d 3 h
PR fusionados (30 d)
44

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 eclipse-openvsx/openvsx

Todos los issues de eclipse-openvsx/openvsx

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.