scripts/products/accounts.sh (backup with pg_dump, build with the shared packages, PM2, export, keep, failed-migration recovery); accounts in SUPPORTED_PRODUCTS so deploy updates it where a church has it. Env template in both places, PM2 example, export script, /api/health version from package.json. README, CHANGELOG, WHATS-NEW; the plan's changes while building and what's still to do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
Changelog — Accounts
[1.0.0] - unreleased
The first release (docs/ACCOUNTS-1.0-PLAN.md). Not tagged yet: needs Hub 2.3.0, crosscode install/add for Accounts, a Playwright run of the pages and the VM test first.
Added
- OpenID Connect provider (oidc-provider 9.13.3): authorization code with PKCE (S256) required,
ES256 keys made on first start,
crosscode.identity/1claims in the ID token, no refresh tokens, RP-initiated logout and OIDC Back-Channel Logout. Clients are the linked products (Connect,crosscode.link/1), with exact redirect addresses and the client secret derived from the link. - Sign-in steps that all return to the product and page they started from: password, sign-up with
an emailed code, two-step sign-in (authenticator app, email, WhatsApp, recovery codes) and setting
it up when a product asks (
acr_values=mfa) or for admins, privacy notice (asked again when a new version is published), news question, forgot / reset password. - The account page: details, email change by link, password, two-step sign-in, recovery codes, news consent, recent activity, sign out everywhere, download my data (bundled from every linked product), delete my account (approved by an admin, then every product, retried when a product says "not yet").
- Admin: people (access-logged), deletion requests, the church profile (
crosscode.church/1, served at/api/church/v1,church.changedto products), linked products, sign-in settings, email and WhatsApp, privacy notice versions, licence, audit log. First-run/setup. - Hub protocol v2 (product
accounts,CCA-licence; never read-only), registering by itself fromHUB_LICENCE_KEY. crosscodehooks (scripts/products/accounts.sh),env.template.json, PM2 example.