contracts 1.8.0: crosscode.identity-request/1 (import and people.* calls to Accounts)

Product -> Accounts requests at /api/accounts/v1/requests, signed with the
link secret: import.begin/batch/finish/abort for moving a product's users
in (EVENTS-3.0-PLAN §4), people.* for product admins (§8). sealLinkValue /
openLinkValue seal password hashes and TOTP secrets with a key derived
from the link secret; importIdsHash for the final check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 13:33:15 +02:00
co-authored by Claude Opus 5.5
parent ac017395df
commit 08fef930c1
24 changed files with 1585 additions and 10 deletions
+5 -5
View File
@@ -1,8 +1,8 @@
# Cross Events 3.0.0 — signing in through Accounts
Phase **4** of [ROADMAP-v3.md](./ROADMAP-v3.md) (§3 "Moving Cross Events onto Accounts", §8, §9;
decisions 2, 14, 15, 17, 24, 38). Written 2026-11-19. **Not started; decisions below still to be
confirmed.** Moved before the Website on 2026-11-19 (decision 38), so this is the first product
decisions 2, 14, 15, 17, 24, 38). Written 2026-11-19. **Decisions confirmed 2026-11-19** (all as proposed); being built on
`feat/events-3.0`. Moved before the Website on 2026-11-19 (decision 38), so this is the first product
that really signs people in through [Accounts](./ACCOUNTS-1.0-PLAN.md).
**What 3.0.0 is:** Cross Events stops keeping passwords. Sign-in, sign-up, forgot password, 2FA,
@@ -52,7 +52,7 @@ connected before its Events can move.
12. [What changes in each repo](#11-what-changes-in-each-repo)
13. [Testing](#12-testing)
14. [Releasing and rolling it out](#13-releasing-and-rolling-it-out)
15. [Decisions to confirm](#decisions-to-confirm)
15. [Decisions](#decisions)
16. [Still open](#still-open)
---
@@ -418,9 +418,9 @@ only for a connected product:
login events, Events' audit log) → after 14 days the Undo window closes and the old secrets are
cleared. **The demo site first, then Hope Family Church**, then the rest.
## Decisions to confirm
## Decisions
Proposed; confirm with Joshua before building.
Confirmed by Joshua on 2026-11-19, all as proposed.
1. **`User.accountId` instead of rewriting `User.id`** (§2). Every imported person still gets
`sub = User.id`; the column handles guests, deleted people and emails already in Accounts