The gateway still invite-gates KERIA /boot — the community app can never register (Join Now: “Failed to connect to identity network”); open it per DDR 0230 (Ben, 2026-09-25) #1869

Closed
opened 2026-09-25 08:07:31 +00:00 by ben · 0 comments
Owner

Ben's ruling, 2026-09-25: "open it so registration can be approved by admin in the app." This confirms DDR 0230 decision 2 (2026-09-09): on IDSS, registration is open. Anyone with the community's app can create an identity on the community's KERIA; membership still waits for a steward's approval. This is a sign-in trust change, taken to Ben first and ruled.

The defect. On whakatohea-demo (Coa build v0.7.6), the app's Join Now → profile form fails with "Failed to connect to identity network". ProfileFormScreen.vue generates twelve words, then identityStore.connect(passcode) boots a new agent at the descriptor's keri.boot_url. The gateway refuses it:

$ curl -si -X POST -d '{}' https://keria-boot.whakatohea-demo.idss.nz/boot
HTTP/2 403 · x-idss-gate: boot: deny
{"code":"boot_denied","message":"the invite token is not a live, unspent invite"}

The descriptor already says boot.gated: false (ADR 0235), but the front door's /boot forward-auth (internal/clan/keri.go KeriBootAuthPath) still asks controlapi.bootGateVerify → keria.BootInvites.CheckBootToken. That check denies any request without a live invite on X-Idss-Boot-Token. So DDR 0230 decision 2 ("the boot is no longer token-gated") was recorded but never built on the gateway, and the app, which sends no token, can never register.

The change

  • No token → allow. A /boot forward-auth request with no X-Idss-Boot-Token answers 204. KERIA mints the agent; nothing about membership changes. The member then walks the app's registration, lands in the steward's approval queue, and a steward approves in the app (matou-app #612, approve-from-registry).
  • A token keeps its meaning. A request that carries a token is still checked. A live invite is spent as today, so its Preset still pre-ticks the approval ceremony (DDR 0217 ruling 4). A dead token still denies, so a broken invite link fails loud rather than quietly turning into an un-preset join.
  • The descriptor matches the gate. boot.gated reports what the gate actually does. If a community could ever still run gated, the two must agree.
  • Update:
    • ADR 0212's amendment record, DDR 0230's caption, and GOTCHAS: the boot door was recorded open 2026-09-09 but stayed gated until this fix.
    • docs/architecture diagrams that draw /boot as invite-gated.
    • The authgate.go / keri.go / invite.go comments that say "no invite means no agent".
  • Seam test: a tokenless forward-auth → 204; a dead token → 403; a live token → 204 and spent.

What the front door still guards. The ADR 0074 posture for every other door is unchanged. /boot remains its own route, so rate-limiting it later stays possible. That's out of scope here, but note it: DDR 0230 took an ungated boot as the accepted cost.

Acceptance

  • On a standing community (proved on whakatohea-demo after the release lane applies the fix): the app's Join Now → profile form → submit gets past "Connecting to identity network" and lands on the pending-approval screen. The founder, signed in to the app, sees the registration and approves it. The new member then reaches the dashboard.
  • curl -X POST https://keria-boot.<apex>/boot without a token is no longer answered 403 by the gate (KERIA's own answer comes through).
  • The browser join (/join) still works both with and without an invite link.

Related: the app's invite gap, where the in-app "Invite member" never uses the gateway's invites (filed separately in matou-app).

<!-- origin: session --> **Ben's ruling, 2026-09-25:** *"open it so registration can be approved by admin in the app."* This confirms DDR 0230 decision 2 (2026-09-09): on IDSS, **registration is open**. Anyone with the community's app can create an identity on the community's KERIA; **membership still waits for a steward's approval**. This is a sign-in trust change, taken to Ben first and ruled. **The defect.** On `whakatohea-demo` (Coa build v0.7.6), the app's **Join Now → profile form** fails with *"Failed to connect to identity network"*. `ProfileFormScreen.vue` generates twelve words, then `identityStore.connect(passcode)` boots a new agent at the descriptor's `keri.boot_url`. The gateway refuses it: ``` $ curl -si -X POST -d '{}' https://keria-boot.whakatohea-demo.idss.nz/boot HTTP/2 403 · x-idss-gate: boot: deny {"code":"boot_denied","message":"the invite token is not a live, unspent invite"} ``` The descriptor already says `boot.gated: false` (ADR 0235), but the front door's `/boot` forward-auth (`internal/clan/keri.go` `KeriBootAuthPath`) still asks `controlapi.bootGateVerify` → `keria.BootInvites.CheckBootToken`. That check denies any request without a live invite on `X-Idss-Boot-Token`. So DDR 0230 decision 2 ("the boot is no longer token-gated") was recorded but never built on the gateway, and the app, which sends no token, can never register. ## The change - **No token → allow.** A `/boot` forward-auth request with **no** `X-Idss-Boot-Token` answers 204. KERIA mints the agent; nothing about membership changes. The member then walks the app's registration, lands in the steward's approval queue, and a steward approves in the app (matou-app #612, approve-from-registry). - **A token keeps its meaning.** A request that **carries** a token is still checked. A live invite is spent as today, so its `Preset` still pre-ticks the approval ceremony (DDR 0217 ruling 4). A dead token still denies, so a broken invite link fails loud rather than quietly turning into an un-preset join. - **The descriptor matches the gate.** `boot.gated` reports what the gate actually does. If a community could ever still run gated, the two must agree. - **Update:** - ADR 0212's amendment record, DDR 0230's caption, and GOTCHAS: the boot door was recorded open 2026-09-09 but stayed gated until this fix. - `docs/architecture` diagrams that draw `/boot` as invite-gated. - The `authgate.go` / `keri.go` / `invite.go` comments that say "no invite means no agent". - **Seam test:** a tokenless forward-auth → 204; a dead token → 403; a live token → 204 and spent. **What the front door still guards.** The ADR 0074 posture for every other door is unchanged. `/boot` remains its own route, so rate-limiting it later stays possible. That's out of scope here, but note it: DDR 0230 took an ungated boot as the accepted cost. ## Acceptance - On a standing community (proved on `whakatohea-demo` after the release lane applies the fix): the app's Join Now → profile form → submit gets past "Connecting to identity network" and lands on the pending-approval screen. The founder, signed in to the app, sees the registration and approves it. The new member then reaches the dashboard. - `curl -X POST https://keria-boot.<apex>/boot` without a token is no longer answered 403 by the gate (KERIA's own answer comes through). - The browser join (`/join`) still works both with and without an invite link. Related: the app's invite gap, where the in-app "Invite member" never uses the gateway's invites (filed separately in matou-app).
ben self-assigned this 2026-09-25 08:11:27 +00:00
ben 2026-09-25 08:40:27 +00:00
  • closed this issue
  • removed the
    no-triage
    label
Sign in to join this conversation.
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
Matou/idss#1869
No description provided.