Skip to content

docs(saml): document request correlation, replay refusal, and IdP-initiated out of scope#162

Merged
windischb merged 1 commit into
developfrom
docs/saml-replay-correlation
Jul 21, 2026
Merged

docs(saml): document request correlation, replay refusal, and IdP-initiated out of scope#162
windischb merged 1 commit into
developfrom
docs/saml-replay-correlation

Conversation

@windischb

Copy link
Copy Markdown
Contributor

Documentation follow-up to #160 / #161 (SAML request correlation, P0-2). The fix is
admin-visible in two ways docs/admin/saml-federation.md did not cover, and this
brings the doc in line with the shipped behaviour.

What changed

  • SAML login is now strictly SP-initiated. An IdP-initiated ("unsolicited")
    Response — started from the IdP's app dashboard, with no InResponseTo — is
    refused, because that correlation is what enforces replay protection. Added to
    Out of scope (v1) with the reason, so an admin doesn't wire an IdP-initiated
    tile that silently fails.
  • What flows through now includes the correlation + single-use step between
    signature validation and audience check.
  • Troubleshooting explains the new ACS error codes and their usual causes:
    saml-unsolicited / saml-unknown-request (IdP-initiated, or the 15-minute
    correlation window elapsed, or app instances not sharing a database),
    saml-replayed (back/refresh on the ACS POST, or an actual replay),
    saml-provider-mismatch (wrong <slug> in the ACS URL given to the IdP).

Prose only — no internals (the store, optimistic concurrency) leak into the
admin doc. Roadmap and glossary checked; nothing else references the changed
behaviour.

🤖 Generated with Claude Code

…tiated being out of scope

The P0-2 correlation fix (#160) is admin-visible in two ways this doc did not
cover: SAML login is now strictly SP-initiated (an IdP-initiated, unsolicited
Response is refused, because the InResponseTo correlation is what enforces
replay protection), and the ACS can now redirect to new error codes.

- 'What flows through': add the correlation + single-use step.
- 'Out of scope': state IdP-initiated SSO is not supported, with the reason.
- 'Troubleshooting': explain saml-unsolicited / saml-unknown-request /
  saml-replayed / saml-provider-mismatch and their usual causes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@windischb
windischb merged commit 45d668b into develop Jul 21, 2026
5 checks passed
@windischb
windischb deleted the docs/saml-replay-correlation branch July 21, 2026 15:19
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