SAML Is Insecure by Design

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ASP.NET SAML

    Very simple SAML 2.0 consumer module for ASP.NET/C#

  • By "doing SAML" do you mean from the server perspective or the client perspective? This simple client library works with .NET 5.

    https://github.com/jitbit/AspNetSaml/

  • shib-sp

    Containerized Shibboleth SP

  • How is Shibboleth SP's track record on SAML vulnerabilities, either patching them quickly or avoiding them altogether?

    My company needed to implement SAML SP support in one of our products so we could get academic customers, particularly those that are part of the InCommon federation. We contracted with a company that specializes in SAML and Shibboleth to help us get it right. We decided to use Shibboleth SP running in a container; that container also has Apache httpd (as practically required by Shib SP) and a little Python shim app that generates a JWT and passes it back to our main app. Hopefully that's a good way of using the nearest thing to a canonical SAML SP implementation, without running our whole application through Apache httpd. In case anyone's interested, our Shib SP container setup, with the Python shim app, is here:

    https://github.com/PneumaSolutions/shib-sp

    It's probably still too specific to our application, but might be useful as a starting point for others.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • mundane

    Mundane is a Rust cryptography library backed by BoringSSL that is difficult to misuse, ergonomic, and performant (in that order).

  • Most problems with security specs and libraries that implement them are communication problems. They involve people incompletely describing or understanding their requirements, capabilities, or threat model. Usually this also involves providing/using interfaces that are not ergonomic (https://github.com/google/mundane/blob/master/DESIGN.md), which in turn comes from the spec trying to do too much (as XML Signature does).

    I don't know how GPT could help with that. If anything I would expect it to bias toward things it has already seen, which is the opposite of what you want when writing a new spec/library aiming to avoid past mistakes.

  • saml-idp

    Simple SAML Identity Provider (IdP)

  • fusionauth-samlv2

    SAML v2.0 bindings in Java using JAXB

  • We recommend OIDC, but support SAML because customers.

    We implemented our own SAML processing library, too: https://github.com/FusionAuth/fusionauth-samlv2

    (We pay for valid security bugs.)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts