Passkeys 2: registration ceremony #38

Closed
opened 2026-08-17 17:14:06 -05:00 by bermudalamb · 0 comments
Owner

Part of the Passkeys project. Parent: #36. Depends on the schema/config groundwork.

Scope

A signed-in customer can register a passkey on their current device.

  • POST /api/customers/me/passkeys/register/begin — issues registration options with a server-generated challenge
  • POST /api/customers/me/passkeys/register/finish — verifies the attestation and stores the credential

Requirements

  • The challenge must be server-generated, single-use, and expiring. A replayable challenge defeats the point of the ceremony.
  • Registration requires an authenticated session — this is not a sign-up path.
  • Already-registered credential IDs must be excluded so the same authenticator cannot be enrolled twice.
  • The customer names the passkey, or it gets a sensible default, so the management UI can distinguish "phone" from "laptop".

Out of scope

Signing in with the passkey, and the management UI — separate issues.

Part of the Passkeys project. Parent: #36. Depends on the schema/config groundwork. ## Scope A signed-in customer can register a passkey on their current device. - `POST /api/customers/me/passkeys/register/begin` — issues registration options with a server-generated challenge - `POST /api/customers/me/passkeys/register/finish` — verifies the attestation and stores the credential ## Requirements - The challenge must be server-generated, single-use, and expiring. A replayable challenge defeats the point of the ceremony. - Registration requires an authenticated session — this is not a sign-up path. - Already-registered credential IDs must be excluded so the same authenticator cannot be enrolled twice. - The customer names the passkey, or it gets a sensible default, so the management UI can distinguish "phone" from "laptop". ## Out of scope Signing in with the passkey, and the management UI — separate issues.
bermudalamb added this to the Passkey Implementation project 2026-08-17 17:21:30 -05:00
bermudalamb self-assigned this 2026-08-21 16:09:53 -05:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bermudalamb/redefined-designs#38