Files
crosscode-platform/packages/auth-client
joshuaandClaude Opus 5.5 c627c61de1 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>
2026-11-19 14:10:30 +02:00
..

@crosscode/auth-client

The product side of signing in through the church's Accounts (docs/ACCOUNTS-1.0-PLAN.md §5). The Church Website, the Church App and Cross Events 3.0 use it, so every product returns people to the exact page they came from, checks state, nonce and PKCE, and handles back-channel logout and Accounts' signed user.* calls the same way. Usage is in the comment at the top of src/index.ts.

Built on openid-client 6 (ES modules only). Tested against the real provider in apps/accounts/backend/tests/authClient.test.ts.