server: short-lived bearer tokens without a sign-in provider
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
- Área
- api, authentication
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
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
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de eizedev/pivotkit
-
area:server enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
area:server bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
area:server enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
documentation idea
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
area:tests idea
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de eizedev/pivotkit
Issues similares
-
入群码过期Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
aliyun/ai-agent-handbook#29 · 1 comentario ·
-
docs documentation need-triage SaaS
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
apache/cloudstack#14719 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día