server: short-lived bearer tokens without a sign-in provider

Abierto
#485 2 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
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
cli, javascript

Línea de trabajo

Start by reading how the server handles static bearer tokens from auth.tokens for REST and MCP, and how the pivotkit-server CLI is structured. The issue proposes a CLI for creating expiring tokens but leaves key storage, rotation, revocation, protocol support, logging, and limits open. First settle those design questions; done means the token lifecycle and acceptance behavior are defined and tested.

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

Descripción

area:server enhancement

Without a sign-in provider, REST and MCP use static bearer tokens (auth.tokens, from a variable or a file, one profile each). That covers many setups (a read-only token per client), but the token never expires and the operator has to create and hand it out by hand.

Idea: let the operator issue short-lived tokens without an identity provider, e.g. pivotkit-server token create --profile <name> --expires 1h signed with a server key, checked like a static token but with an expiry, optionally named for the log. A token page in a web UI would need a signed-in person, which is what a sign-in provider gives, so the CLI path comes first.

Questions to settle before building: key storage and rotation, revoking a token before it expires, whether REST and MCP both accept it, and how it shows in logs and limits.

Lenguaje dominante
JavaScript
Estrellas
1
Forks
1
Merge medio
3 h 34 min
PR fusionados (30 d)
213

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 eizedev/pivotkit

Todos los issues de eizedev/pivotkit

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.