Files
crosscode-platform/packages/auth-client
joshuaandClaude Opus 5.5 733992e917 Accounts 1.1.0: moving Events' users in, people.* requests, new recovery codes
POST /api/accounts/v1/requests (crosscode.identity-request/1): import.* keeps
each person's Events id as sub, password hash and authenticator secret
(sealed in transit), consent, notices and lockout; linked when the email
already has an account. people.* for product admins, limited to people the
product knows. New recovery codes after the first 2FA sign-in for people
moved in with 2FA. screen=signup. auth-client: request(), seal(), signUp.
8 new tests (47 in all).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:40:15 +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.