* chore(auth): AccountKit 0.24, and a journey that follows Morulia
AccountKit 0.24 shows the shared sign-in's button only once Morulia
publishes a provider, and names exactly those providers. The browser
journey now asks Morulia (SIGNIN_ISSUER/api/providers) whether to expect
the button, and matches it by how it starts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
* ci(auth): the account journey is the browser smoke the rollout gate reads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
* chore(auth): AccountKit 0.27.0, the canary's version
The rollout gate holds 0.24 now that the canary (biaslens) runs 0.27.0, so
this raise goes straight to it. 0.25 adds the sign-in code to the sign-in
link's email and 0.26.1 Lightning login (off until ACCOUNTKIT_LIGHTNING=1).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
---------
Co-authored-by: Claude <noreply@anthropic.com>
The public pages' header still asked Auth.js's /api/auth/session, which
AccountKit does not serve (404), so a signed-in person saw "Sign in" on
every public page. It now asks /api/auth/get-session, and names a person
without a name by their address unless it is OrangeCat's .invalid
placeholder. The browser journey checks the account menu on a public page.
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
Co-authored-by: Claude <noreply@anthropic.com>
Skif signed in through OrangeCat alone (Auth.js, no users table). It now
runs on AccountKit (@bitbaum/accountkit 0.23), on AccountKit's own forms:
/signin offers email and password, an emailed sign-in link, a passkey,
recovery through the mailed link and the second factor; /signin?mode=create
is sign-up; /account carries the account panel (password, passkeys, second
factor, linked sign-ins, deletion). "Continue with OrangeCat" and the shared
bitbaum sign-in show when their clients are set, the link and recovery when
mail is.
Every OrangeCat person keeps their rows and their id. Skif's rows key on the
OrangeCat sub; legacyIdentityProvider "orangecat" makes that sub the
actorId of anyone whose first way in is OrangeCat, and their first
OrangeCat sign-in links the new account by that sub, never by an address.
Nothing is migrated. Everyone else's actorId is their account id.
Migration 0018 (additive) adds the shared account tables. The privacy page
now says what an account keeps. The Loki widget never loads on /account.
src/server/accounts.test.ts runs the ways in on the committed migrations;
accounts.yml runs the browser journey against the production build with
AccountKit's real mail caught by a sink.
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
Co-authored-by: Claude <noreply@anthropic.com>