Skip to content

cas: persist passkeys, registration backed by DB #665

Description

@Themezv

Table passkey_credentials (account_id FK, credential data, name, created_at, last_used_at). Registration ceremony creates an account (display name from request, replaces hardcoded "testuser") and stores the passkey on finish. Ceremony state stays in-memory with a TTL — single-instance limitation, note it in code.

Depends on #664.

Acceptance criteria

  • Finished registration → account + credential rows.
  • Stale ceremony state expires (TTL) instead of leaking.
  • Registration start/finish covered by an integration test.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    casCAS (Central Authentication Service)

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions