Skip to content

SSO (#13658): SAML IdP — design slice (no prior art) #13687

Done

Description

@dezren39

Refs #13658 (Slice 3's SAML half). The story's prior-work search is unambiguous: there is no SAML prior art in this estate — no design, no issue, no library. SAML is genuinely new design work, and per the story's slice plan it gets its own design slice before any build.

Why this issue exists

The #13658 reconciliation ADR settles the OIDC core (separate minimal provider, #13409's stand-up). It deliberately does not settle SAML: hand-building SAML (XML signatures, assertion profiles) is the highest-risk protocol work in the program, and the SAML component gets a fresh adopt-vs-build decision of its own, informed by the OIDC build's evidence.

Design questions to settle (in a dated design record under doc/)

  1. Component choice: adopt a maintained SAML IdP library/component vs build minimal SAML responses into the provider — evaluated against the same hard requirements as the OIDC ADR (signing keys from our PKI — the Slice 2 saml-signing key; one account row; design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253 roles as attributes).
  2. Profiles: Web Browser SSO only, or also ECP/artifact; signed responses vs signed assertions; encryption requirements for assertions.
  3. Metadata: provider metadata publication + signing (Slice 2 key), SP metadata onboarding model (per-SP config, no dynamic trust by default).
  4. Identity shape: NameID policy (persistent vs email), attribute mapping onto the provider's account row and the design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253 role set.
  5. Conformance plan: how the implementation is tested (known SAML test harnesses / interop checks) before any real SP depends on it.

Acceptance

{
  "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-23T20:34:36Z",
    "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. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. added a commit that references this issue on Nov 23, 2026
  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Closing — the design is delivered and decided.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions