Repository navigation
Done
Labels
Description
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/)
- 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-signingkey; 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). - Profiles: Web Browser SSO only, or also ECP/artifact; signed responses vs signed assertions; encryption requirements for assertions.
- Metadata: provider metadata publication + signing (Slice 2 key), SP metadata onboarding model (per-SP config, no dynamic trust by default).
- 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.
- Conformance plan: how the implementation is tested (known SAML test harnesses / interop checks) before any real SP depends on it.
Acceptance
- Dated design record under
doc/answering the five questions, decision recorded on story: our own OIDC/SAML/SSO identity provider #13658. - Build slices filed from the record (not before).
- No SAML code lands under this issue — design only.
{
"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
developing-today commentedon Nov 23, 2026
CODE-5017
Merge pull request #13792 from developing-today/lane/idp4/saml-design
dezren39 commentedon Nov 23, 2026
Closing — the design is delivered and decided.
doc/2026-11-23T21-48-44Z_design_idp_saml/2026-11-23T21-48-44Z_design_idp_saml.md, landed by PR #13792 (merge4999d3ff31ec). It answers all five of this issue's questions: component choice (samael, evaluated from its own repo against thesamlcrate and the saml-rs/risaml lineage; hand-rolled XML-DSig rejected), signing keys from our PKI (Slice 2 SAML key, serial 1002) with one account row and 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, profiles (Web Browser SSO only, signed assertions), metadata publication (signed, per-SP static config, no dynamic trust), NameID/attributes (persistent NameID = account_id), and the conformance plan (local test SP → SAMLtest.id → real SP).samlcrate at 1.0).