mirror of
https://github.com/bitbaum/accountkit.git
synced 2026-12-04 05:37:35 +01:00
AOZ's people start from a personal code: they sign in with it, and they claim it once with an email and a first password. AccountKit's server has both (domainCredentials, provisioning); its screens had neither, so AOZ kept its own code field and register screen beside SignInForm. - SignInForm takes codeDoor: a quiet button opens one field in the product's words, sent to /sign-in/domain. A personal link (?<param>=) opens it and signs in once, then leaves the address bar. An account with a second factor is refused in AccountKit's words, with the way back on screen. - ClaimForm: a code (or a claim link the page holds), an email and a first password to /provision/claim, saying what happened and turning every CLAIM_* refusal into a sentence. - Labels `code` and `claim` in all seven languages; both calls go through the client's $fetch. Browser checks drive both in every language at 320/390px. Closes #67. Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9 Co-authored-by: Claude <noreply@anthropic.com>