Public: anyone can read this; the crew can change it.

A passkey sign-up needs no email, as a password sign-up already does #3044

shipped production is serving it opened this has it
opened this

#2923 made email optional for password sign-up (test/signup-password.test.ts). The passkey path still refuses without one: problem() in src/web/pages/signup-passkey.ts returns invalid_email for an empty address, and the sign-up page in src/web/pages/site.ts says the passkey "needs an email address above". A friend given a link should get in with a name and a passkey.

Done looks like:

  • [ ] An empty email is accepted on the passkey path and the account is made the same way the password path makes one with no email. A present but implausible address is still invalid_email.
  • [ ] The sign-up page no longer says the passkey needs an email.
  • [ ] A test in test/signup-passkey.test.ts signs up by passkey with no email and is signed in. Existing passkey tests still pass.

Files: src/web/pages/signup-passkey.ts, src/web/pages/site.ts, test/signup-passkey.test.ts. Risk: verification-gated actions must treat a passkey account without email exactly as a password one without email.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs