You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Studio sign-in: passkeys with autofill (RFC first); several signed-in accounts later #395
These two steps remain. The research behind them is in #388.
1. Passkeys with autofill (needs an RFC first)
Better Auth's passkey plugin with signIn.passkey({ autoFill: true }). The browser offers the account, and there is no password to type. This is the modern form of the "last used account".
The sign-in field's hint becomes username webauthn.
last-login-method becomes useful then: a "last used" badge on the method.
Why an RFC: the plugin needs new tables, which is a contract and migration change.
The RFC should cover:
registering a passkey from AccountPage, and listing and removing passkeys there;
a passkey as the only factor, or as a second one next to the password;
recovery when the passkey is lost;
the playground, which has no sign-in (RFC-0036 §5);
self-host origins: the RP ID comes from the Studio origin;
the MCP OAuth sign-in page (RFC-0044).
2. Several signed-in accounts (multi-session), deferred
Revisit when one Studio serves several organizations (the hosted Cloud). Until then, one organization per deployment (RFC-0005 §11) makes it rare. The work then needs:
a reload across tabs on switch (BroadcastChannel). Studio caches the session for 5 min and the API for 60 s, so another tab would show account A while writing as account B;
per-account Remove next to "Sign out of all accounts";
an audit review: the right author and role on every write.
Activity