The /boot door pins CORS to the apex — the community app (Origin: null) still cannot register after #1869 #1873

Closed
opened 2026-09-25 09:25:33 +00:00 by ben · 0 comments
Owner

Found 2026-09-25 on whakatohea-demo right after #1869 landed (5a3373cd). The app's Join Now still fails with "Failed to connect to identity network". The gate is open (a tokenless POST now reaches KERIA), but the door's CORS answers Access-Control-Allow-Origin: https://whakatohea-demo.idss.nz only. The Electron app loads index.html from a local file, so its fetch carries Origin: null, and Chromium drops the reply. KERIA's admin door (keria.<apex>) answers *.

Ben ruled (2026-09-25): allow any origin. CORS authorises nothing here: forward_auth still decides, and a carried invite is still checked. internal/clan/keri.go renders * on the preflight and on header_down.

Acceptance

  • The rendered boot door carries Access-Control-Allow-Origin "*" on both arms (test in keri_test.go).
  • On whakatohea-demo, after the land and the front-door reconcile (#1845), the app's Join Now gets past "Connecting to identity network" and lands on pending approval.
<!-- origin: session --> Found 2026-09-25 on `whakatohea-demo` right after #1869 landed (`5a3373cd`). The app's Join Now still fails with *"Failed to connect to identity network"*. The gate is open (a tokenless POST now reaches KERIA), but the door's CORS answers `Access-Control-Allow-Origin: https://whakatohea-demo.idss.nz` only. The Electron app loads `index.html` from a local file, so its fetch carries `Origin: null`, and Chromium drops the reply. KERIA's admin door (`keria.<apex>`) answers `*`. **Ben ruled (2026-09-25): allow any origin.** CORS authorises nothing here: forward_auth still decides, and a carried invite is still checked. `internal/clan/keri.go` renders `*` on the preflight and on `header_down`. ## Acceptance - The rendered boot door carries `Access-Control-Allow-Origin "*"` on both arms (test in `keri_test.go`). - On `whakatohea-demo`, after the land and the front-door reconcile (#1845), the app's Join Now gets past "Connecting to identity network" and lands on pending approval.
ben self-assigned this 2026-09-25 09:25:35 +00:00
ben closed this issue 2026-09-25 09:44:19 +00:00
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#1873
No description provided.