signInMethods reads <SIGNIN_ISSUER>/api/providers (cached per issuer,
refreshed at most once a minute, last good list kept) and returns the
names as signinProviders; signin is true only when one is listed. The
label is composed from them in all six languages, so an app never names
a provider that is not configured. The fallback label drops Apple and X,
which are paid.
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
Co-authored-by: Claude <noreply@anthropic.com>
Every bitbaum product needs people in and using it with as little friction as
possible. With mail configured, AccountKit used to refuse a password sign-in
until the address was confirmed, and a first-password claim gave no session
until the link was followed.
Now, by default, a sign-up is signed in at once and is mailed a confirmation
link. An unconfirmed account signs in, and a claim signs the person in and
mails the link. Following the link still sets emailVerified, which a product
reads to reserve powers (staff, payouts) for confirmed addresses.
A product that needs the wall opts in with emailConfirmation:
"before-sign-in" (server, Next runtime, and signInMethods' third argument).
It applies only with mail, as before.
Claude-Session: https://claude.ai/code/session_019MDtmuvj9Cecd7DR2Nbirb
Co-authored-by: Claude <noreply@anthropic.com>