Skip to content

test(idp-provider): SAMLtest-style conformance requests for SAML S2 (#13794) - #17334

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/13794-saml-s2
Nov 30, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/13794-saml-s2

Conversation

@developing-today-fleet

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

Copy link
Copy Markdown
Contributor

SAML S2 (#13794) local conformance extension: the §6 step-1 suite only ever sent samael-shaped AuthnRequests, but the step-2 harness (SAMLtest.id) uses a Shibboleth SP, whose requests differ in three ways this PR now covers in pkgs/idp-provider/tests/saml_sso.rs:

  • Shibboleth-style AuthnRequest (NameIDPolicy, RequestedAuthnContext, ProviderName, ForceAuthn/IsPassive) completes SP-initiated SSO and the local SP accepts the signed response.
  • HTTP-POST binding AuthnRequest completes SSO (previously only Redirect-in was exercised end-to-end).
  • AuthnRequest naming the ACS by AssertionConsumerServiceIndex uses the registered ACS and completes SSO.

Test-only change (+139 lines, no production code). Each test's oracle: the IdP serves the login challenge instead of denying, and the samael SP validates the resulting signed response (audience, recipient, InResponseTo, attributes).

Verification: remote dispatch run https://github.com/developing-today-forks/fleet/actions/runs/46464882440 (cargo test --test saml_sso in the pkgs/idp-provider nix devshell) — result recorded on #13794 when it concludes.

Refs #13794 (does not close it: the public SAMLtest.id leg still needs a browser-reachable IdP deployment; the route decision and wake are recorded on the issue, comments 7284994047 and 7285193891).

{
  "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-30T17:05:30Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

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

…13794)

Shibboleth-SP-shaped AuthnRequests (NameIDPolicy, RequestedAuthnContext,
ProviderName), HTTP-POST binding requests, and ACS-by-index requests now
complete SSO against the local SP, extending the S1 suite toward the
section 6 step-2 harness surface.
@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: a174c0b6-129b-430d-a534-1c5989c3272a

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
developing-today-fleet Bot merged commit 9c699ba into main Nov 30, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/13794-saml-s2 branch November 30, 2026 17:10
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.

1 participant