Repository navigation
Conversation
A new admin page, Agent tokens, walks an admin through turning the switch on: the Keycloak setup (standard token exchange on Tapas's client, offline_access as an optional scope, an audience client and an optional audience scope per service, an Offline Session Max), the agentTokens config with Frames' entry, what start refuses, what people and admins see, the janitor and its log lines, what agent_token. mint_failed's reasons point at in Keycloak, turning it off, and the tokens Tapas drops without revoking. It links the tapas-pack follow-up (#37). Backups, Secrets and keys, and Sign-in say what agent tokens change there, and javo user remove's help mentions agent access. The dev realm can do everything the broker asks: token exchange, an audience client and scope for Frames, offline access, and the built-in scopes and roles a realm import otherwise leaves out. values.yaml shows the agentTokens section, commented out. contracts.md gains the identity provider's requirements and the dev realm.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slice 19: Dev realm, chart values and broker admin docs
An admin can turn the switch on from the docs, with Keycloak set up step by step, and the dev stack's realm can do everything the broker asks.
Spec: nebari-dev/tapas/docs/superpowers/specs/2026-11-30-agent-token-broker-design.md
Plan: nebari-dev/tapas/docs/superpowers/plans/2026-12-01-agent-tokens-and-frames.md (Slice 19)
Contracts touched: Dev realm
deploy/dev/keycloak/realm-javo.json, What Tapas asks of the identity provider with the switch onDepends on: #82
admin/agent-tokens.md: Keycloak setup, config, start refusals, Settings and admin pages, janitor and logs, themint_failedreason table, turning it off, tokens Tapas drops unrevoked; links Set up the tapas-pack Keycloak client for agent tokens #37.backups.mdx,secrets-and-keys.md,sign-in.mdx, andjavo user remove's help updated.framesaudience client and optionalframes-audiencescope,offline_access; the built-in scopes, role scope mapping and default roles an import otherwise drops. Checked by hand on the dev Keycloak (transcript in the plan's Evidence).values.yaml: theagentTokenssection, commented out.Reviewer note: the Keycloak console labels in the setup steps are checked against the real console in Slice 25's docs walk-through.
Validation
make dev-up, the second request and an exchangeaud,email,groupsmake dev-up)go test -count=1 ./test/helm/...make docs/admin/agent-tokens/present