Files
CatoandClaude Opus 5.5 6497e64c1a feat(auth): Solon accounts on the fleet's account package (#269)
* feat(auth): Solon accounts on the fleet's account package

Anyone can now create a Solon account with an email and a password or a
passkey, with two-step codes; "Continue with OrangeCat" is one way in
among them instead of the only one. Sign-in, sign-up and the account
panel are @bitbaum/accountkit/auth's shared screens in Solon's look, in
the reader's language (authLabelsFor).

Seats were keyed on the OrangeCat actor id. legacyIdentityProvider keeps
that id for everyone whose first way in was OrangeCat, so existing seats,
votes, the founder rule and Loki grants keep working with no data
migration; everyone else is their account id.

Policy change, on purpose: the sign-in gate that turned away OrangeCat
accounts with no email is gone, with its test. A session still grants
nothing: a seat comes only from founding or from a vote of the members.

- drizzle/0014_accounts.sql: the six account tables, additive only, the
  same migration every product generates
- next-auth removed; /api/auth/[...all] serves accounts
- a PGlite test signs up against Solon's own migrations

Known gap: the roster's OrangeCat handle and picture are no longer
refreshed at sign-in (stored values stay).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3

* chore(deps): pin accountkit to the merged v0.5.0 commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-17 16:02:19 +02:00
..