Skip to content
SprecherEast
Issue 1330

documentation: Decision record 0021 matches the passkey store's retention and admin view

Back to our plan
Done
documentationauthpriority: low

Problem

Decision record 0021 still says two things the code and the passkey store PR settled differently, so a reader following the record would build or expect the wrong thing.

Proposed fix

Edit the record, as a documentation-only change:

  • Retention removes expired challenges only (a used one expires minutes later), not "used and expired".
  • Say how "every field is server-only" and "admins read for support" fit together: the key material (credential ID, public key) is unreadable to everyone through any API, and the other fields are never written through an API and readable by admins.

The record stays Proposed until this change is reviewed; changing the status needs a short re-review.

Existing work compared

  • Searched: issues for decision 0021 and passkey; the record was closed with #1312 and no open issue tracks these edits.
  • Native and plugins: not applicable.
  • Our code: the record's own wording only; the behavior is in the passkey store (#1313).

Acceptance criteria

  • Not done: The retention sentence matches what the retention task does.
  • Not done: The access section records the admin support view next to "server-only".
  • Not done: The record's status is unchanged (Proposed) and the PR says so.

Files likely touched

  • docs/architecture/decisions/0021-passkey-sign-in.md

Must not touch

  • Code

Open questions

  • None.

Area

auth

Priority

low


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab