# @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`.