Cross Events 3.0.0: sign-in through the church's Accounts

Settings -> Sign-in: check, move (everyone into Accounts with their password
hashes and authenticator apps, count/hash check, then switch) and undo for
14 days. Sign-in through auth-client with a one-time handoff to Events' own
token; staff roles stepped up to mfa; sign-out and back-channel logout;
user.updated/export/deleted; admin 2FA reset, unlock and profile changes via
Accounts; /login, /register, /forgot-password forward once moved; Events'
own sign-in endpoints answer SIGN_IN_MOVED. User.accountId, AccountsSignIn.

npm run test:accounts runs Events' code against the real Accounts app (11
tests); 5 new Jest tests. MIGRATING-TO-3.md, plan "Changes while building".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 14:10:30 +02:00
co-authored by Claude Opus 5.5
parent 56cbef1d9b
commit c627c61de1
49 changed files with 4094 additions and 245 deletions
+16
View File
@@ -2,6 +2,22 @@
Each package and app has its own section and its own tags (`contracts@1.0.0`, `accounts@1.0.0`, …).
## events@3.0.0, accounts@1.1.0, contracts@1.8.0 - unreleased
Cross Events signs in through the church's Accounts (ROADMAP-v3 phase 4, docs/EVENTS-3.0-PLAN.md).
Built on `feat/events-3.0`; not tagged until the VM test and a run on real Postgres.
- **Contracts 1.8.0:** `crosscode.identity-request/1` (product → Accounts at
`/api/accounts/v1/requests`): `import.begin` / `batch` / `finish` / `abort` and `people.*`;
`sealLinkValue` / `openLinkValue` and `importIdsHash` in `/signing`.
- **Accounts 1.1.0:** takes the requests: moves Events' users in with their password hashes and
authenticator secrets, new recovery codes after the first 2FA sign-in, `people.*` for people a
product knows, `screen=signup`. Details in `apps/accounts/CHANGELOG.md`.
- **`@crosscode/auth-client` 1.1.0:** `request()`, `seal()`, `startSignIn(…, { signUp })`.
- **Events 3.0.0:** Settings → Sign-in (check, move, undo), sign-in and sign-out through Accounts,
Accounts' calls, admin actions through Accounts. Details in `apps/events/CHANGELOG.md` and
`apps/events/MIGRATING-TO-3.md`.
## events@2.4.1, contracts@1.7.0, agent@1.2.0, crosscode script - 2026-11-19
Demo data from the Hub, for installs marked as demo sites (Hub 2.4.0).