TL;DR: SAML remains a mature enterprise SSO standard, but the article shows how assertions, signing, encryption, metadata, and certificate handling create recurring failure points that can break trust, as WorkOS explains. The practical issue is that identity assurance in SAML depends on configuration discipline, not protocol familiarity, and weak handling turns federation into an avoidable control gap.
NHIMG editorial — based on content published by WorkOS: The developer’s guide to SAML authentication
By the numbers:
- Only 5.7% of organisations have full visibility into their service accounts.
- 91.6% of secrets remain valid five days after the targeted organisation is notified, showing a critical gap in remediation procedures.
Questions worth separating out
Q: How should security teams govern SAML federation across enterprise apps?
A: Treat SAML federation as a living trust relationship.
Q: What breaks when SAML assertions are not tightly validated?
A: If assertions are accepted without full signature, audience, recipient, and time-window checks, an application can log in the wrong subject or trust a replayed token.
Q: When does SAML create more risk than OIDC for enterprise access?
A: SAML creates more operational risk when teams are managing many certificates, complex XML parsing paths, or legacy integrations that are hard to test safely.
Practitioner guidance
- Validate federation metadata continuously Track ACS URLs, entity IDs, signing certificates, and encryption certificates as managed identity dependencies.
- Harden XML parsing and assertion validation Use secure XML libraries, enforce full-document signature validation, and reject unsigned or partially signed assertions.
- Automate certificate rotation checks Add expiry alerts, staging tests, and rollback-safe rotation procedures for both IdP and SP certificates.
What's in the full article
WorkOS's full guide covers the operational detail this post intentionally leaves for the source:
- Step-by-step SAML implementation guidance with code samples for SP-initiated and IdP-initiated flows
- Detailed walkthroughs of assertion structure, XML signing, encryption, and metadata handling
- Specific error examples for recipient mismatch, audience failure, and certificate expiry
- Practical debugging tips for Base64-decoded responses, browser traces, and log inspection
👉 Read WorkOS's developer guide to SAML authentication →
SAML authentication for developers: where the trust gaps hide?
Explore further
SAML security fails when federation is treated as a static trust contract. The protocol assumes that metadata, certificates, and audience restrictions stay aligned over time, but real deployments drift. That drift creates silent acceptance paths where assertions remain technically valid while the surrounding trust context no longer is. Practitioners should treat federation as a governed identity relationship, not a one-time integration.
A few things that frame the scale:
- Only 5.7% of organisations have full visibility into their service accounts, according to Ultimate Guide to NHIs.
- 91.6% of secrets remain valid five days after the targeted organisation is notified, showing a critical gap in remediation procedures.
A question worth separating out:
Q: Who is accountable when a SAML integration exposes privileged access?
A: Accountability sits with both the identity team that governs federation and the application team that consumes the assertion. The IdP proves authentication, but the SP decides what the user can reach after login. If privileged admin paths are exposed, the governance failure is shared across authentication, session handling, and downstream authorisation.
👉 Read our full editorial: SAML authentication reveals where enterprise SSO controls still fail