‹ BackHN Continuity

Thread

SAML: A fractal of bad design

353 points · 190 comments · aray07

  1. jmbwell · · focus · HN ↗
    It’s such a product of “Ooh! Markup languages! What can we use a markup language to solve!” When authentication is just not a document or data stream that needs marked-up.

    The article rightly connects this to XML, which was indeed the hammer to everything’s nail at the time

    I think we aren’t done with this problem yet, though. OIDC makes a lot of assumptions in service to Google and others. And tailscale as mentioned, despite “holding the line,” already reveals the cracks when things like GitHub accounts have to be treated differently from others.

    What we are missing is a provider-independent way to do this. I should be able to create an account and log in just about anywhere using a backend I control. It can be done, but not with what we have today

    1. blm126 · · focus · HN ↗
      OpenID Connect actually has all the machinery needed to support federated login as part of its dynamic discovery and dynamic registration specifications. The issue is that absolutely no one uses them or implements them.

      Smaller tech companies don't want federated login to happen. They are, as a rule, far to happy to rely on the SSO tax to up-sell enterprise customers. The major authentication companies don't want federated login to happy because it invites more competitors and threatens their absurd margins.

      Until someone manages to solve the business side, no amount of improved technology will change a thing. I'm pretty sure the few small interoperability gaps OpenID Connect has could be corrected in a matter of months if the stakeholders actually cared.

      1. hirsin · · focus · HN ↗
        As someone with a vested interest/being/been many of the parties you mention... Do you think support for "federated login via OIDC" would _not_ fall under the SSO tax?

        Who do you think would host the "federated login" system that would replace the major authentication companies?

        You can already stand up a SAML or OIDC provider using OSS and run the IdP for your company. I have many customers that do! And you bet we still charge them for SSO, and that they're every six months asking how bad the migration to a "big auth company" would be.

        1. cryptonector · · focus · HN ↗
          GP was probably thinking of Azure AD / Entra as the "SSO tax".
          1. ptman · · focus · HN ↗
            <a href="https:&#x2F;&#x2F;sso.tax&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sso.tax&#x2F;
            1. cryptonector · · focus · HN ↗
              Thanks!
        2. ndriscoll · · focus · HN ↗
          With dynamic client registration, I could host my own IdP server at home, or with a provider of my choice, and it would just work everywhere without any coordination work for anyone, manual signups to be assigned a client id&#x2F;secret, etc. The entire point is that you won&#x27;t let me do that because you want to charge extra for better, simpler, cheaper security for everyone. That is the SSO tax.

          I should be able to just give my email or domain name, and it kicks off an oauth flow to that domain no matter who I use for my email&#x2F;identity. In the same way that I can give you my email address and you&#x27;ll just email me without me having to pay extra for enterprise email.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.