Start a sign-in with the return path (state, nonce, PKCE), finish it, sign-out address, back-channel logout tokens and Accounts' signed user.* calls. Tested against the real provider. Root lint covers Accounts' backend. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
549 B
Markdown
10 lines
549 B
Markdown
# @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`.
|