mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-05 02:47:21 +01:00
OC1 (OrangeCat side) of the Solon v1 plan. register-client.ts hardcoded the FleetCrown spec; a second relying party would have meant copy-pasting the script. Extract CLIENT_SPECS — one least-privilege spec per client, selected by --client (defaults to fleetcrown, preserving the original invocation and the FleetCrown spec verbatim; re-run against prod confirmed: updated, secret untouched). New spec: solon — scopes `openid profile email` ONLY. Solon needs identity, never OrangeCat agency: login links a Solon member to an OC actor (Member.ocActorId), while governance authority flows the other way, through Bitcoin-signed votes that OrangeCat re-verifies. Registered against prod; secret handed to Solon's env out-of-band. The Solon-side NextAuth consumer is the remaining half of OC1. Co-authored-by: Georgy Butaev <41178744+g-but@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>