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
+14
View File
@@ -12,6 +12,20 @@ Write for church admins, not developers: no environment variables, endpoints or
developer log is CHANGELOG.md. A tagged version without a section here shows "No details given".
-->
## 3.0.0 — requires accounts 1.1.0
- **One sign-in for all your church's sites and apps.** People can now sign in to Cross Events with
their church account, the same one they'll use for the church website and app. Nothing changes
until an admin chooses **Move sign-in to Accounts** under Site settings → Sign-in.
- **Nobody has to reset anything.** Everyone keeps their password and their authenticator app.
People who use two-step sign-in get new recovery codes the first time they sign in.
- After signing in, people come back to exactly the page they were on, such as an event's
registration form.
- Passwords, two-step sign-in, news choices, "download my data" and deleting an account are on the
church account from then on, for all the church's sites at once.
- Admins can still reset someone's two-step sign-in or unlock them from the People page.
- Changed your mind? **Undo** goes back to Cross Events' own sign-in for 14 days after the move.
## 2.4.1
- Until you upload your own logo (Site settings → Branding), the site now shows the Cross Code