SAML: A Fractal of Bad Design

SAML, the XML-based authentication protocol that birthed the SSO industry, is fundamentally flawed due to XML complexity, canonicalization issues, enveloped signatures, and design ossification, making it vulnerable to signature wrapping attacks and parser differentials that persist despite decades of awareness. Organizations should migrate to OpenID Connect (OIDC), which avoids these pitfalls through simpler JSON-based design, detached signatures, and agile evolution.
348 points by aray07 29 days ago blog.trailofbits.com 181 comments

Summary

SAML’s design flaws, including XML complexity and security vulnerabilities, have led experts to recommend a shift to OpenID Connect (OIDC). The article discusses the specific issues with SAML and highlights the advantages of OIDC’s simpler and more secure approach.

Comments (181 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open