Skip to content

AuthBridge demo docs: outdated paths, missing deploy steps, wrong OAuth clients #1679

Closed

Description

@mrsabath

Summary

Following docs/authbridge/demos.md and weather-agent/demo-ui.md on a fresh Kind install surfaced several documentation gaps that block beginners.

Problems observed

  1. No deploy steps in demos.md — Layer 1 curl assumes weather-service and test-client already exist; only a vague pointer to the deployment guide.
  2. KAGENTI_UI_PW undocumented — Token examples use ${KAGENTI_UI_PW} without saying to read kagenti-test-user in keycloak.
  3. Wrong OAuth client — Examples used client_id=kagenti (UI SPA, no password grant) or admin-cli (no agent aud → 401 at AuthBridge). Working path: kagenti-e2e-tests after 87-setup-test-credentials.sh.
  4. Wrong HTTP API — Examples used :8000/run instead of A2A on Service port 8080.
  5. keycloak-admin-secret location — demo-ui.md implied the secret is created in the agent namespace (team1); operator 0.2+ stores it in kagenti-system only.
  6. Resource assumptions — Build-from-source via Shipwright on a 4-CPU Podman machine often fails with Insufficient cpu / ExceededNodeResources; not documented.
  7. docs/install.md may still describe per-namespace keycloak-admin-secret replication (needs audit).

Proposed direction

  • Keep demos.md as a short post-deploy observation guide; link to kagenti-extensions for full UI/kubectl deploy steps.
  • Fix factual errors (clients, ports, secret namespaces) without duplicating entire demo guides.
  • Track follow-ups: align install.md, add a single “AuthBridge getting started” entry in docs index.

Related PRs

  • kagenti: (to be linked)
  • kagenti-extensions: (to be linked)

Activity

  1. mrsabath commented on May 26, 2026

    @mrsabath
    MemberAuthor
  2. added
    documentation
    on May 26, 2026
  3. self-assigned this
    on May 27, 2026
  4. mrsabath commented on Jul 14, 2026

    @mrsabath
    MemberAuthor

    Addressed by PR #1680 (kagenti). Part of epic #1469 (sub-issues #1470 AuthBridge docs, #1471 install guide). Companion issue for the kagenti-extensions side: rossoctl/cortex#671.

    Correction to items 5 & 7 (secret location): while validating PR #1680 on a fresh Kind cluster, the keycloak-admin-secret / kagenti-system claim turned out to be wrong — that secret does not exist. The operator actually reads keycloak-initial-admin from the keycloak namespace (keys username/password), configured via keycloak.adminSecretName / keycloak.namespace. Live evidence:

    $ kubectl get secret keycloak-admin-secret -n kagenti-system
    Error from server (NotFound): secrets "keycloak-admin-secret" not found
    
    $ kubectl get secret keycloak-initial-admin -n keycloak -o jsonpath="{.data}"
    {"password":"…","username":"…"}
    

    PR #1680 corrects docs/install.md accordingly; the same wrong claim in demo-ui.md is tracked in rossoctl/cortex#671.

    Testing also surfaced additional demos.md fixes now in the PR (test-client deploy/ reference, 87-setup-test-credentials.sh needing KEYCLOAK_URL=http://keycloak.localtest.me:8080 on Kind, and the agent-card name being Weather Assistant not weather_service), plus a UI bug (#2199, Fetch & Parse env-import).

    Assisted-By: Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentation

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions