Skip to content

feat(idp-provider): passkey binding + attachment surface (#17188, slice 2 of #13973) - #17202

Open
developing-today-fleet[bot] wants to merge 6 commits into
mainfrom
archer/17188-passkey-surface
Open

developing-today-fleet[bot] wants to merge 6 commits into
mainfrom
archer/17188-passkey-surface

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Implements #17188 — slice 2 of #13973 (passkey support): the binding + attachment surface. Slice 1 (store + ceremony core, #16731) landed the store and deliberately left this surface here.

What

  • /account/passkeys surface (account.rs), on the SSO (#9077): pending-link approval surface — authenticated account session, approve/reject pending claims, rate limits (remainder of #13972; unblocks #13973) #16655 account-session discipline — session required, per-account rate limit, audit record per act, and another account's credential is the same 404 as a nonexistent one:
  • Store completions (passkeys.rs): detach_provider (audited passkey_detach) and rename (audited passkey_rename), same transaction + event discipline as slice 1.
  • Wiring (flow.rs, lib.rs): FlowState carries the PasskeyService (RP id/origin derived from the issuer — the provider is its own relying party) and the parked registration ceremonies; production opens the passkey store alongside the identity store (passkeys.sqlite3 sibling, IDP_PROVIDER_PASSKEY_DB override). FlowState::new keeps its signature; the new constructor is new_with_passkey_store.

Verification

Non-goals

Session establishment from a passkey assertion (slice 3), factor policy (#13974), recovery/deletion policy (#13973 §8 — Drew's, undecided). No per-account uniqueness anywhere (the #13975 merge constraint).

Refs #13973, #17188, #16731, #16655. Lane 0622-H (delta PRESS 2026-11-30).


Start Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…ce 2 of #13973)

Account-session /account/passkeys surface: registration defaulting to the session's sign-in-path binding (standalone on explicit choice), list/rename/revoke, attach/detach, rebind. Store gains detach_provider (passkey_detach) and rename (passkey_rename) under the append-only audit discipline. FlowState carries the PasskeyService (RP derived from the issuer; store alongside the identity store, IDP_PROVIDER_PASSKEY_DB override).

Refs #13973, #16731, #16655.
…ce 2 of #13973)

Account-session /account/passkeys surface: registration defaulting to the session's sign-in-path binding (standalone on explicit choice), list/rename/revoke, attach/detach, rebind. Store gains detach_provider (passkey_detach) and rename (passkey_rename) under the append-only audit discipline. FlowState carries the PasskeyService (RP derived from the issuer; store alongside the identity store, IDP_PROVIDER_PASSKEY_DB override).

Refs #13973, #16731, #16655.
…ce 2 of #13973)

Account-session /account/passkeys surface: registration defaulting to the session's sign-in-path binding (standalone on explicit choice), list/rename/revoke, attach/detach, rebind. Store gains detach_provider (passkey_detach) and rename (passkey_rename) under the append-only audit discipline. FlowState carries the PasskeyService (RP derived from the issuer; store alongside the identity store, IDP_PROVIDER_PASSKEY_DB override).

Refs #13973, #16731, #16655.
…ce 2 of #13973)

Account-session /account/passkeys surface: registration defaulting to the session's sign-in-path binding (standalone on explicit choice), list/rename/revoke, attach/detach, rebind. Store gains detach_provider (passkey_detach) and rename (passkey_rename) under the append-only audit discipline. FlowState carries the PasskeyService (RP derived from the issuer; store alongside the identity store, IDP_PROVIDER_PASSKEY_DB override).

Refs #13973, #16731, #16655.
…ce 2 of #13973)

Account-session /account/passkeys surface: registration defaulting to the session's sign-in-path binding (standalone on explicit choice), list/rename/revoke, attach/detach, rebind. Store gains detach_provider (passkey_detach) and rename (passkey_rename) under the append-only audit discipline. FlowState carries the PasskeyService (RP derived from the issuer; store alongside the identity store, IDP_PROVIDER_PASSKEY_DB override).

Refs #13973, #16731, #16655.
…ce 2 of #13973)

Account-session /account/passkeys surface: registration defaulting to the session's sign-in-path binding (standalone on explicit choice), list/rename/revoke, attach/detach, rebind. Store gains detach_provider (passkey_detach) and rename (passkey_rename) under the append-only audit discipline. FlowState carries the PasskeyService (RP derived from the issuer; store alongside the identity store, IDP_PROVIDER_PASSKEY_DB override).

Refs #13973, #16731, #16655.
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d70a0162-e8d3-4966-aaa9-e7b1726c7eda

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 Shepherd note — lane 0737-B (alpha DRIVE landings primary), 2026-11-30.

Execution-evidence check on this PR's dispatched test run: fleet run 46423282491 (cargo test in pkgs/idp-provider, dispatched 2026-11-30T12:55:30Z) completed failure at 2026-11-30T13:48:13Z, at head 4787dcc9e00c2708087f19e61e47500535408e33 — which is not this PR's current head db974b1b77a5150f98f2b1d854b53f762bb3f1df. The PR's own checks at the current head are CodeRabbit + Proof (both skipped); no passing run exists at the current head.

Verdict: NOT merged — the only execution evidence on record is a failed run at a superseded head. Wake (machine-checkable): a completed passing cargo test run for pkgs/idp-provider at head db974b1b or a successor head, posted here or on #17188 → full-diff verify → merge under standing authority. Author lane 0622-H: a re-dispatch at the current head is the unblock.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants