GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SSO (#9077): passkey support (WebAuthn) — bound to the originating sign-in path by default, standalone option, unlimited, multi-provider attach · Issue #13973 · developing-today/code

SSO (#9077): passkey support (WebAuthn) — bound to the originating sign-in path by default, standalone option, unlimited, multi-provider attach #13973

New issue
Copy link
New issue
Copy link
Backlog
Backlog
SSO (#9077): passkey support (WebAuthn) — bound to the originating sign-in path by default, standalone option, unlimited, multi-provider attach#13973
Copy link
Labels
epic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability request

Description

@dezren39
dezren39
opened on Nov 24, 2026
Issue body actions

Refs #13415, #9077. Policy: Drew's identity-linking policy, recorded on #13415 §3. Depends on the pending-link workstream (pending-link + account session).

1. Problem + context

The provider has no passkeys and no WebAuthn anywhere: sign-in is entirely the upstream doors (local, Google; GitHub/Microsoft pending registration), and the #9077 design note (doc/2026-11-23_design_fleet_sso_9077.md §4) explicitly listed "MFA/passkeys/OTP policy" as a non-goal. Drew's policy now brings passkeys into scope with a specific shape:

  • A passkey ties to the way it was signed in — created under a given provider sign-in, associated with that login path — by default.
  • The user is presented an option to make it distinct: its own login, separate from SSO.
  • Users may create as many passkeys as they want and attach each to one or more SSO providers.

2. Goals / non-goals

Goals:

  • WebAuthn registration + assertion ceremonies in the provider, with credentials stored against the account in the runtime store (alongside identities, same audit discipline).
  • Each passkey records its binding: by default the sign-in path it was created under (provider identity / door); a user-visible option at creation (and changeable after) makes it a standalone login, bound to the account only.
  • A passkey attached to one or more providers counts as a sign-in path for those providers' sessions (it can establish the account session, subject to the factor-policy workstream factor policy); a standalone passkey establishes the account on its own.
  • Unlimited passkeys per account; per-passkey naming, listing, and revocation by the user from the account session; every ceremony and revocation audited.

Non-goals: recovery requests and account deletion (policy undecided — Drew; §8), passkey sync-provider attestation restrictions (accept platform + roaming authenticators; attestation is recorded, not gated, in v1), using passkeys as relying-party tokens (passkeys authenticate to the provider; apps still get OIDC tokens).

3. Alternatives

  • Do nothing. Rejected: the policy asks for passkeys, and they are the second factor the factor-policy workstream needs to offer SSO+passkey and passkey+passkey combinations.
  • Passkeys as just another identity row (provider = passkey, subject = credential id) with no binding model. Simpler store, but it cannot express the policy's default tie to a sign-in path nor per-provider attachment — the binding is the point of the policy, so this loses the requirement.
  • Binding model as designed in §4 (chosen): a dedicated credential table with an explicit binding column (sign-in path | standalone) and an attachment set. More schema, but it states the policy directly and the account-merge workstream's merge audit can reason about it (credentials are many-per-account by design — merge-safe from day one).

4. Chosen approach

Data model: new passkeys table in the runtime store: credential id (primary key), account id, public key + sign count, binding (path | standalone), bound_provider/bound_subject (nullable, set when binding = path), attachment set (join table passkey_providers: credential id × provider — a passkey may attach to several providers; a standalone passkey's attachment set is empty and it binds to the account directly), user-given name, created/last-used timestamps, status (active | revoked). Events (passkey_register, passkey_rebind, passkey_attach, passkey_revoke, passkey_auth) go to the same append-only history/audit pattern as identity events.

Ceremonies: registration requires an established account session (from the pending-link workstream) — the session's sign-in path supplies the default binding, shown to the user with the explicit option to make the passkey distinct instead. Assertion: a path-bound passkey may authenticate sessions for its attached providers; a standalone passkey authenticates the account directly. Assertion results feed the factor evaluation in the factor-policy workstream (a passkey assertion is one factor; whether one suffices is that issue's policy, not this one's).

Security analysis: WebAuthn's origin binding and challenge-response are the control; the provider must verify attestation/assertion signatures, enforce RP-id = the provider's own origin, and clone-detect via sign count. The binding model adds one rule that matters: making a passkey standalone is an account-session act that is audited, because it widens what the credential can open (from one sign-in path to the whole account). Revocation is immediate and audited; a revoked credential's assertions are denied with an audit record, mirroring identity_unlinked.

5. Build slices (dependency-ordered, each with acceptance)

  1. Store + ceremony core. passkeys schema, registration/assertion verification (a maintained WebAuthn library — no hand-rolled crypto), audit events. Acceptance: ceremony round-trips against a software authenticator in tests; sign-count clone detection proven by replay test.
  2. Binding + attachment UX surface. Default-to-sign-in-path binding at registration, the distinct/standalone option, attach/detach to providers, list/rename/revoke from the account session. Acceptance: the policy's shapes all demonstrable — path-bound passkey, standalone passkey, one passkey attached to two providers, three passkeys on one account.
  3. Session establishment. Passkey assertion establishes the account session per its binding/attachments. Acceptance: standalone passkey alone reaches the account session; path-bound passkey reaches sessions for exactly its attached providers and no others.

6. Rollout + rollback

Additive: new tables only; accounts without passkeys are unaffected. Rollback = previous binary (passkey rows inert; door sign-in unchanged). No existing credential or identity data is migrated.

7. Verification plan

Crate tests with a software authenticator for every slice's acceptance; a live proof with a real platform authenticator on the laptop before close; audit-history inspection showing the full ceremony trail.

8. Open questions (named deciders)

  • Recovery requests and account deletion policy — Drew (policy §6, undecided; a lost-passkey story is NOT designed here until he rules).
  • Whether attestation should ever gate (e.g. require hardware keys for the owner account) — Drew.
  • WebAuthn library choice — implementer (maintained, audited crate; named in slice 1's PR).

Dependencies

Depends on the pending-link workstream (account session + identity states) — ceremonies and binding acts live in that session. Feeds the factor-policy workstream (a passkey assertion is a factor there). Must satisfy the account-merge workstream's merge constraints: passkeys are unlimited-per-account and multi-provider by design, so no per-account uniqueness may be introduced here.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T01:26:24Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. dezren39
    added
    kind/featureNew feature or capability request
    epic/pm-stackReprioritization program epic (2026-11-12)
    on Nov 24, 2026
  2. developing-today commented on Nov 24, 2026

    @developing-today
    developing-todayBot
    on Nov 24, 2026 – with developing.today
    Contributor
    More actions

    CODE-5142

  3. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Sibling map — filed together 2026-11-24 as the four workstreams of Drew's identity-linking policy (recorded on #13415):

    • (a) Pending-link registration + approval from an established session — SSO (#9077): pending-link registration — new provider sign-ins register without trust until approved from an established session #13972 (HEAD)
    • (b) Passkey support (WebAuthn) — SSO (#9077): passkey support (WebAuthn) — bound to the originating sign-in path by default, standalone option, unlimited, multi-provider attach #13973
    • (c) Configurable two-factor policies — SSO (#9077): configurable two-factor — any two factors (SSO and/or passkey), user-configured #13974
    • (d) Account merge — SSO (#9077): account merge — uniqueness audit, primary selection, no-loss join, per-attribute repointing #13975

    Dependency order: (a) first; (b) builds on (a)'s account session; (c) builds on (a) + (b); (d) is independent of (a)–(c) mechanically, except its uniqueness audit (slice 1) should complete before (b)'s schema lands, and merge initiation uses (a)'s session. Issue bodies refer to siblings by workstream name; this comment is the number map.

  4. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (2026-11-24, queue task 22483, lane xaltha): not startable yet — blocked on #13972, otherwise ready.

    Fresh state checked 2026-11-24 ~08:15 UTC:

    • SSO (#9077): passkey support (WebAuthn) — bound to the originating sign-in path by default, standalone option, unlimited, multi-provider attach #13973 is open, fully specified (3 dependency-ordered slices in §5, acceptance per slice, verification plan in §7). No open PR covers any slice, and no other lane has a live claim on it (searched open PRs and issue references; only the issue itself and its siblings SSO (#9077): pending-link registration — new provider sign-ins register without trust until approved from an established session #13972/SSO (#9077): configurable two-factor — any two factors (SSO and/or passkey), user-configured #13974/SSO (#9077): account merge — uniqueness audit, primary selection, no-loss join, per-attribute repointing #13975/SSO (#9077): account linking UI/flow with retained identity history #13415 mention it).
    • Blocker: the issue depends on the pending-link workstream SSO (#9077): pending-link registration — new provider sign-ins register without trust until approved from an established session #13972 (HEAD of the four identity-linking workstreams), which is still open with no PR. Slice 1's ceremonies require the established account session from SSO (#9077): pending-link registration — new provider sign-ins register without trust until approved from an established session #13972 — there is no session for registration to bind to yet.
    • Secondary ordering constraint (from the issue body): SSO (#9077): account merge — uniqueness audit, primary selection, no-loss join, per-attribute repointing #13975 slice 1 (uniqueness audit) should complete before this workstream's schema lands.
    • Open questions for Drew (recovery/deletion policy, attestation gating — §8) do not block slice 1; the WebAuthn library choice is the implementer's call at slice 1.

    Routing: follow-on packet is slice 1 — store + ceremony core (passkeys schema, registration/assertion verification via a maintained WebAuthn library, audit events; acceptance: ceremony round-trips against a software authenticator, sign-count clone detection proven by replay test), to be claimed once #13972 closes. Slices 2 (binding + attachment UX) and 3 (session establishment) follow in order. Size: 3 slices, feature-scale; no close-with-evidence applies — the work is real and specified, it is just gated.

  5. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (lane oc-code-02, queue task 22739, 2026-11-24): open feature, not yet implementable. Scope is WebAuthn registration and login with passkeys bound to the originating sign-in path by default; it depends on the pending-link workstream (pending-link + account session), which is not landed. No code packet routed now; it needs the pending-link prerequisite first. Tracking: #14158.

  6. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage re-check (queue task 22739, lane felix, 2026-11-25): still blocked on #13972 — but one secondary constraint has now cleared.

    Fresh state checked 2026-11-25 ~08:50 UTC:

    • SSO (#9077): passkey support (WebAuthn) — bound to the originating sign-in path by default, standalone option, unlimited, multi-provider attach #13973 is OPEN, fully specified (3 slices in §5). No open PR covers any slice; no passkey/WebAuthn implementation exists yet.
    • Prerequisite SSO (#9077): pending-link registration — new provider sign-ins register without trust until approved from an established session #13972 (pending-link, HEAD workstream): slice 1 MERGED as PR idp-provider: pending identity state and door denial (slice 1 of #13972) #14019 (2026-11-24T07:38Z, register_pending/approve_pending in pkgs/idp-provider/src/identities.rs). Slice 2 (auto-provisioning door wiring) is queue task 22744, currently parked (not_before 2026-11-25T13:03:09Z, lane oc-code-01), not landed. Slice 3 — the minimal account session that SSO (#9077): passkey support (WebAuthn) — bound to the originating sign-in path by default, standalone option, unlimited, multi-provider attach #13973's registration ceremony binds to — is not enqueued yet and depends on slice 2. So there is still no established account session for a passkey ceremony to bind to.
    • Secondary ordering constraint CLEARED: SSO (#9077): account merge — uniqueness audit, primary selection, no-loss join, per-attribute repointing #13975 slice 1 (uniqueness audit) MERGED as PR docs(13975): account-merge uniqueness audit (slice 1) #14216 at 2026-11-25T08:44:55Z. The audit's merge-critical set and the passkey treatment are now on record, so nothing in SSO (#9077): account merge — uniqueness audit, primary selection, no-loss join, per-attribute repointing #13975 blocks SSO (#9077): passkey support (WebAuthn) — bound to the originating sign-in path by default, standalone option, unlimited, multi-provider attach #13973's schema anymore.
    • Open questions for Drew in §8 (recovery/deletion policy, attestation gating) still do not block slice 1; WebAuthn library choice remains the implementer's call at slice 1.

    Routing: no follow-on packet enqueued yet — #13973 slice 1 (store + ceremony core) should be enqueued once #13972 slice 3 (account session) lands; enqueueing it now would only park it on the same prerequisite. Task 22739 is re-parked with a 24h recheck, same as the prior cycle.

    Refs #13973

  7. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Passkey triage recheck (agent-next-22-local, 2026-11-26):

    • SSO (#9077): passkey support (WebAuthn) — bound to the originating sign-in path by default, standalone option, unlimited, multi-provider attach #13973 is still OPEN; no PR implements a passkey slice.
    • Primary dependency SSO (#9077): pending-link registration — new provider sign-ins register without trust until approved from an established session #13972 remains OPEN. Its auto-provisioning slice is still queue task 22744 (queued), and the account-session slice needed by passkey registration has not landed or been routed yet.
    • The secondary ordering constraint has advanced: SSO (#9077): account merge — uniqueness audit, primary selection, no-loss join, per-attribute repointing #13975 slice 2a merged as PR idp-provider: account merge store primitive (#13975 slice 2a) #15393. Its slice-1 uniqueness audit was already complete, so it does not change SSO (#9077): passkey support (WebAuthn) — bound to the originating sign-in path by default, standalone option, unlimited, multi-provider attach #13973's readiness.

    Verdict: the passkey feature is still not implementable until #13972 provides the account session. No duplicate implementation packet was enqueued; task 22739 is parked for a fresh recheck when task 22744 reaches a terminal state.

  8. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage re-check (queue task 22739, lane code-g, 2026-11-28): still blocked on #13972 — prerequisite chain advanced but the account session is still missing.

    Fresh state checked 2026-11-28 ~08:00 UTC:

    • SSO (#9077): passkey support (WebAuthn) — bound to the originating sign-in path by default, standalone option, unlimited, multi-provider attach #13973 is OPEN, fully specified (3 slices in §5). No open or merged PR implements any passkey slice; no WebAuthn code exists in the provider.
    • Prerequisite chain moved since the last check: queue task 22744 (slice 2 auto-provisioning) is DONE (completed 2026-11-26; no-match enrollment defect(pm-stack): SSO gate relaxation enrolls into the single owner account — no read-only-on-no-tenant default (#14265 H7 finding) #15249 and pending door outcome landed), and slice-3a email-match task 23824 is DONE (PR idp-provider: register verified email matches as pending claims (#13972) #15896 merged 2026-11-27 — verified-email matches now register as pending claims, denied without tokens).
    • Remaining gap: the established account session plus the approval/reject surface and rate limits. SSO (#9077): pending-link registration — new provider sign-ins register without trust until approved from an established session #13972 is still OPEN (status:in-review) with no open PR and no live queue task covering that remainder, so passkey registration (slice 1: store + ceremony core, which binds to the originating sign-in path from that session) still has no session to bind to.
    • Secondary ordering constraint stays cleared (SSO (#9077): account merge — uniqueness audit, primary selection, no-loss join, per-attribute repointing #13975 slice 2a idp-provider: account merge store primitive (#13975 slice 2a) #15393 merged; uniqueness audit done).

    Routing: no follow-on packet enqueued — #13973 slice 1 would park immediately on the same missing account-session prerequisite. Task 22739 parked with a 24h recheck; the next check should look for a landed or live account-session/approval slice on #13972.

    Refs #13973

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

    epic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.