idip branded-login: the sign-in door serves signin_idp — "the community IdP could not be reached to start sign-in" — while the gateway's KERI stack is up and healthy (#788 drive red, 18/19 green) #1015

Closed
opened 2026-08-30 04:21:31 +00:00 by ben · 2 comments
Owner

Failure

Drive 20260830T003052Z (target idip, #788) red at leg branded-login, the run's ONLY red — 18 of 19 legs green, the deepest an IDIP drive has gone (identity-rows, dashboard, co-host, deploy-files, files-healthy, door all green).

The leg waits for the sign-in page's username input; the page that rendered instead was a raw JSON error body:

{"code":"signin_idp","message":"the community IdP could not be reached to start sign-in"}

(Playwright: locator('input[type=text]:visible, input[name*="user" i]:visible').first() never visible in 30 s; tests/e2e/journey.idip.spec.ts:201.)

What the evidence rules out

  • The gateway's KERI stack was UP and healthy (logs/droplet-keri.txt): witness incepted BCLerZBeph… and answered :5642, keria-iurls resolved the OOBI into KERIA_IURLS, KERIA started 00:35:58 and minted the agent (Agent Pre: EBzuiubKD…) at 00:38:31 — minutes BEFORE the leg red. The witness door answered (405 on the probe's method = listening).
  • So the fault is in the sign-in START hop: the front door's sign-in route → the bridge (idss-idp) → its IdP backend, at the moment the branded-login leg loads the page. signin_idp is the bridge's own error code — the serving side was reachable; whatever IT calls to start sign-in was not.

Evidence

  • Run: test-results/drive-idip/20260830T003052Z on matou-workstation — artifacts/legs/branded-login.png (screenshot attached), artifacts/journey.idip-…/error-context.md (page snapshot with the JSON body), logs/droplet-keri.txt, logs/droplet-journal.txt, logs/broker-journal.txt.
  • Served pin at drive time: 9727fba4 (bootstrap-fresh per the run's reporter gate line).

Why this is filed by hand

The run's reporter never diagnosed this leg: it deferred on a FALSE host limit park (an empty, letter-less /tmp/matou-swarm-claude-limit written 00:13:12Z by a stale-code writer — no real Claude refusal exists anywhere in the window; account B was demonstrably working 29 s after the marker appeared) and, having filed nothing, flipped #788 ready-for-human per the blocked invariant. This ticket restores the invariant honestly: the red is now filed and wired, and #788 re-arms.

## Failure Drive `20260830T003052Z` (target `idip`, #788) red at leg `branded-login`, the run's ONLY red — **18 of 19 legs green**, the deepest an IDIP drive has gone (identity-rows, dashboard, co-host, deploy-files, files-healthy, door all green). The leg waits for the sign-in page's username input; the page that rendered instead was a raw JSON error body: ``` {"code":"signin_idp","message":"the community IdP could not be reached to start sign-in"} ``` (Playwright: `locator('input[type=text]:visible, input[name*="user" i]:visible').first()` never visible in 30 s; `tests/e2e/journey.idip.spec.ts:201`.) ## What the evidence rules out - **The gateway's KERI stack was UP and healthy** (`logs/droplet-keri.txt`): witness incepted `BCLerZBeph…` and answered :5642, `keria-iurls` resolved the OOBI into `KERIA_IURLS`, KERIA started 00:35:58 and minted the agent (`Agent Pre: EBzuiubKD…`) at 00:38:31 — minutes BEFORE the leg red. The witness door answered (405 on the probe's method = listening). - So the fault is in the **sign-in START hop**: the front door's sign-in route → the bridge (`idss-idp`) → its IdP backend, at the moment the branded-login leg loads the page. `signin_idp` is the bridge's own error code — the serving side was reachable; whatever IT calls to start sign-in was not. ## Evidence - Run: `test-results/drive-idip/20260830T003052Z` on matou-workstation — `artifacts/legs/branded-login.png` (screenshot attached), `artifacts/journey.idip-…/error-context.md` (page snapshot with the JSON body), `logs/droplet-keri.txt`, `logs/droplet-journal.txt`, `logs/broker-journal.txt`. - Served pin at drive time: `9727fba4` (bootstrap-fresh per the run's reporter gate line). ## Why this is filed by hand The run's reporter never diagnosed this leg: it deferred on a FALSE host limit park (an empty, letter-less `/tmp/matou-swarm-claude-limit` written 00:13:12Z by a stale-code writer — no real Claude refusal exists anywhere in the window; account B was demonstrably working 29 s after the marker appeared) and, having filed nothing, flipped #788 `ready-for-human` per the blocked invariant. This ticket restores the invariant honestly: the red is now filed and wired, and #788 re-arms.

swarm-claim host=matou-dev-server-01 run=14297
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=14297 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1015 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1015,
  "status": "success",
  "commits": [
    "e148b00a"
  ],
  "changed_files": [
    "STATUS.md",
    "app/tests/e2e/fixtures/idip.ts",
    "app/tests/e2e/journey.idip.spec.ts",
    "control-plane/cmd/control-plane/main.go",
    "internal/controlapi/oidcprovider.go",
    "internal/controlapi/oidcprovider_test.go"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci --command go test ./internal/controlapi/ -run TestBridgeOIDC_ResolvesRootDiscovery",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command go test ./internal/controlapi/ ./internal/idp/ ./control-plane/...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command go build ./...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command go vet ./internal/controlapi/ ./control-plane/cmd/control-plane/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command gofmt -l internal/controlapi/oidcprovider.go internal/controlapi/oidcprovider_test.go control-plane/cmd/control-plane/main.go",
      "exit_code": 0
    },
    {
      "command": "app: vue-tsc --noEmit -p tsconfig.json",
      "exit_code": 0
    },
    {
      "command": "eslint app/tests/e2e/fixtures/idip.ts app/tests/e2e/journey.idip.spec.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "signin_idp root cause fixed (gate resolves the bridge's own discovery)": "internal/controlapi/oidcprovider.go NewBridgeOIDC builds discovery at the OIDC-standard issuer root /.well-known/openid-configuration (the idss-idp bridge's path, ADR 0212), not kanidm's per-client /oauth2/openid/<client>/.well-known/ path that 404s and makes signinStart serve signin_idp",
    "gate wired to the bridge on the IDIP path": "control-plane/cmd/control-plane/main.go selects NewBridgeOIDC when IDSS_IDP_URL is set (the IDIP-path signal, matching productionIdip and idipIdentity), NewKanidmOIDC otherwise",
    "branded-login leg asserts the bridge's branded page, not kanidm's username input": "app/tests/e2e/fixtures/idip.ts assertBrandedBridgeLogin waits on brand.go's form#signin + community-name chrome (title/logo aria-label/welcome line) + best-effort --oc-accent; journey.idip.spec.ts leg 18 calls it instead of the kanidm-path assertBrandedLogin",
    "red-first proof of the fix": "internal/controlapi/oidcprovider_test.go TestBridgeOIDC_ResolvesRootDiscovery — NewBridgeOIDC resolves the bridge's root discovery and builds the authorize URL; NewKanidmOIDC 404s against the same bridge (the signin_idp cause pinned). Ran red (undefined NewBridgeOIDC) before the fix, green after."
  },
  "summary": "On the IDIP path the gate's /authz/signin OIDC client now resolves the idss-idp bridge's issuer-root discovery via the new NewBridgeOIDC, so branded-login stops serving signin_idp; the leg's assertion is bridge-aware.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1015 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1015, "status": "success", "commits": [ "e148b00a" ], "changed_files": [ "STATUS.md", "app/tests/e2e/fixtures/idip.ts", "app/tests/e2e/journey.idip.spec.ts", "control-plane/cmd/control-plane/main.go", "internal/controlapi/oidcprovider.go", "internal/controlapi/oidcprovider_test.go" ], "tests": [ { "command": "nix develop .#go-ci --command go test ./internal/controlapi/ -run TestBridgeOIDC_ResolvesRootDiscovery", "exit_code": 0 }, { "command": "nix develop .#go-ci --command go test ./internal/controlapi/ ./internal/idp/ ./control-plane/...", "exit_code": 0 }, { "command": "nix develop .#go-ci --command go build ./...", "exit_code": 0 }, { "command": "nix develop .#go-ci --command go vet ./internal/controlapi/ ./control-plane/cmd/control-plane/", "exit_code": 0 }, { "command": "nix develop .#go-ci --command gofmt -l internal/controlapi/oidcprovider.go internal/controlapi/oidcprovider_test.go control-plane/cmd/control-plane/main.go", "exit_code": 0 }, { "command": "app: vue-tsc --noEmit -p tsconfig.json", "exit_code": 0 }, { "command": "eslint app/tests/e2e/fixtures/idip.ts app/tests/e2e/journey.idip.spec.ts", "exit_code": 0 } ], "criteria": { "signin_idp root cause fixed (gate resolves the bridge's own discovery)": "internal/controlapi/oidcprovider.go NewBridgeOIDC builds discovery at the OIDC-standard issuer root /.well-known/openid-configuration (the idss-idp bridge's path, ADR 0212), not kanidm's per-client /oauth2/openid/<client>/.well-known/ path that 404s and makes signinStart serve signin_idp", "gate wired to the bridge on the IDIP path": "control-plane/cmd/control-plane/main.go selects NewBridgeOIDC when IDSS_IDP_URL is set (the IDIP-path signal, matching productionIdip and idipIdentity), NewKanidmOIDC otherwise", "branded-login leg asserts the bridge's branded page, not kanidm's username input": "app/tests/e2e/fixtures/idip.ts assertBrandedBridgeLogin waits on brand.go's form#signin + community-name chrome (title/logo aria-label/welcome line) + best-effort --oc-accent; journey.idip.spec.ts leg 18 calls it instead of the kanidm-path assertBrandedLogin", "red-first proof of the fix": "internal/controlapi/oidcprovider_test.go TestBridgeOIDC_ResolvesRootDiscovery — NewBridgeOIDC resolves the bridge's root discovery and builds the authorize URL; NewKanidmOIDC 404s against the same bridge (the signin_idp cause pinned). Ran red (undefined NewBridgeOIDC) before the fix, green after." }, "summary": "On the IDIP path the gate's /authz/signin OIDC client now resolves the idss-idp bridge's issuer-root discovery via the new NewBridgeOIDC, so branded-login stops serving signin_idp; the leg's assertion is bridge-aware.", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1015
No description provided.