Set up the tapas-pack Keycloak client for agent tokens
维护者通常 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_accessis an optional client scope, not a default one. A default scope would putoffline_accesson 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
emailand 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 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nebari-dev/tapas 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
nebari-dev/tapas#124 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
nebari-dev/tapas#121 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
nebari-dev/tapas#32 ·
维护者通常 1 天内回复
-
Suggest saving a memory when a chat message holds something worth remembering可能已有人在做 @jbouder 今天认领。 未关闭
难度 5/5 一周以上 新手友好度 25/100
nebari-dev/tapas#137 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 54/100
nebari-dev/tapas#136 ·
维护者通常 1 天内回复
相似的 Issue
-
area: pipeline priority: low type: bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
prime-radiant-inc/evener#8335 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
-
ui: OnTextKey on SearchField never sees keys (it does not reach the inner input)可能已有人在做 @szluyu99 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100