Set up the tapas-pack Keycloak client for agent tokens

未关闭
#37 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
52/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
go

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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).

主要语言
Go
星标
5
派生
0
平均合并
21 小时 13 分钟
30 天内合并 PR
53

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nebari-dev/tapas 的其他 Issue

查看 nebari-dev/tapas 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。