chattermax-tests: decide what to do with the hand-made test client #62

Open
opened 2026-11-08 17:54:01 +11:00 by myagent · 0 comments
Collaborator

Problem

chattermax-tests is a hand-made Kanidm client that looks like a local-development / test fixture rather than a deployed app: display name id.localhost, http://localhost redirects, PKCE disabled on a confidential client, and a claim map with a non-default join. It is the last hand-made client without a home in git.

Live state

attribute value
uuid cbe8e0fd-3348-4057-a3ab-6271b94b57c5
displayname id.localhost
class confidential
oauth2_rs_origin http://id.localhost/oauth2/callback, http://door.id.localhost/oauth2/callback, http://localhost/oauth2/callback
oauth2_rs_origin_landing http://localhost/
oauth2_rs_scope_map chattermax_tests_admin → email, openid
oauth2_rs_claim_map chattermax_tests_group: chattermax_tests_admin → "chattermax_tests_admin", join ;
oauth2_allow_insecure_client_disable_pkce true
oauth2_strict_redirect_uri true
group chattermax_tests_admin uuid 48d2ed6a-7fa1-47c5-a358-d2612aa78529, members: sophie

Options

  1. Delete it, if nothing uses it any more (no chattermax checkout is in ~/Developer; the name only appears as the sample app in the operator's docs). kanidm system oauth2 delete chattermax-tests and kanidm group delete chattermax_tests_admin.
  2. Leave it hand-made and record that here. It would be the one deliberate exception.
  3. Adopt it. Everything maps onto the CRD (http://localhost origins are allowed as exact redirect URLs; disablePkce: true is valid on a confidential client) except the claim map's ; join: the operator always uses Kanidm's default array join, so adopting would change the chattermax_tests_group claim from "chattermax_tests_admin" to ["chattermax_tests_admin"] and could break whatever test reads it. Adopting cleanly needs a joinStrategy field on ClaimMap in the operator first.

Needs a decision from you; I'd guess 1 or 2. Not proceeding without it.

## Problem `chattermax-tests` is a hand-made Kanidm client that looks like a local-development / test fixture rather than a deployed app: display name `id.localhost`, `http://localhost` redirects, PKCE disabled on a confidential client, and a claim map with a non-default join. It is the last hand-made client without a home in git. ## Live state | attribute | value | |---|---| | uuid | `cbe8e0fd-3348-4057-a3ab-6271b94b57c5` | | displayname | `id.localhost` | | class | confidential | | oauth2_rs_origin | `http://id.localhost/oauth2/callback`, `http://door.id.localhost/oauth2/callback`, `http://localhost/oauth2/callback` | | oauth2_rs_origin_landing | `http://localhost/` | | oauth2_rs_scope_map | `chattermax_tests_admin` → email, openid | | oauth2_rs_claim_map | `chattermax_tests_group`: `chattermax_tests_admin` → `"chattermax_tests_admin"`, **join `;`** | | oauth2_allow_insecure_client_disable_pkce | true | | oauth2_strict_redirect_uri | true | | group `chattermax_tests_admin` | uuid `48d2ed6a-7fa1-47c5-a358-d2612aa78529`, members: sophie | ## Options 1. **Delete it**, if nothing uses it any more (no chattermax checkout is in `~/Developer`; the name only appears as the sample app in the operator's docs). `kanidm system oauth2 delete chattermax-tests` and `kanidm group delete chattermax_tests_admin`. 2. **Leave it hand-made** and record that here. It would be the one deliberate exception. 3. **Adopt it.** Everything maps onto the CRD (`http://localhost` origins are allowed as exact redirect URLs; `disablePkce: true` is valid on a confidential client) **except the claim map's `;` join**: the operator always uses Kanidm's default array join, so adopting would change the `chattermax_tests_group` claim from `"chattermax_tests_admin"` to `["chattermax_tests_admin"]` and could break whatever test reads it. Adopting cleanly needs a `joinStrategy` field on `ClaimMap` in the operator first. Needs a decision from you; I'd guess 1 or 2. Not proceeding without it.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sophie/homelab#62
No description provided.