Set up the tapas-pack Keycloak client for agent tokens

Abierto
#37 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
52/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go

Línea de trabajo

Start by reading the agent token broker spec at docs/superpowers/specs/2026-11-30-agent-token-broker-design.md and inspect how the operator configures the tapas-pack client. Compare that setup with deploy/dev/keycloak/realm-javo.json and the admin steps in site/src/content/docs/admin/agent-tokens.md. Done means the operator handles the optional offline_access scope, token exchange audiences from agentTokens.services, and groups mapper, with a documented decision on the realm session settings.

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

Descripción

The agent token broker (spec: docs/superpowers/specs/2026-11-30-agent-token-broker-design.md) needs things from Tapas's Keycloak client that the Nebari operator's tapas-pack client doesn't set today. For now the dev realm gets them from deploy/dev/keycloak/realm-javo.json and the test cluster is set up by hand from the admin docs. On a Nebari install, an admin who turns on agentTokens would have to change the operator's client by hand, and the operator may undo it later.

We need the operator to set up Tapas's client so that:

  • offline_access is an optional client scope, not a default one. A default scope would put offline_access on every sign-in, and Tapas refuses those sign-ins.
  • Tapas's client may use token exchange (RFC 8693) for the audiences listed in agentTokens.services. Each listed audience is a client id, with Frames' as the first.
  • The groups mapper stays on Tapas's client, so exchanged tokens carry email and the groups claim.

The admin docs also ask for two realm settings: an "Offline Session Idle" of 7 days and an "Offline Session Max". We need to work out whether those belong to the operator or stay with the realm's owner.

Admin steps: site/src/content/docs/admin/agent-tokens.md (once it lands).

Lenguaje dominante
Go
Estrellas
5
Forks
0
Merge medio
21 h 13 min
PR fusionados (30 d)
53

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 nebari-dev/tapas

Todos los issues de nebari-dev/tapas

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.