Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    E

    Eran Hammer

    hueniverse.com · Personal blog · on HN since 2007

    Eran Hammer, a former OAuth 2.0 editor, writes about authentication protocols, open source, and software design.

    Visit blogHN submissions
    SecurityWeb DevelopmentOpen Source & Linux
    What HN says

    HN links his 'OAuth 2.0 and the Road to Hell' post as the reference critique of OAuth's complexity and security concerns.

    Stats for nerds
    129HN people shared it
    105linked in comments
    1.8Kstory points
    Feb 2020last shared
    2008people per year2020

    Top posts on HN

    1. 1
      It’s cheaper to build multiple native applications than one responsive web app
      2 people · 634 points · first shared 2016 · 304 comments on HN
    2. 2
      All these Brilliant People at Facebook Make Me Sad
      1 person · 316 points · first shared 2011 · 168 comments on HN
    3. 3
      OAuth 2.0 and the Road to Hell
      12 people · 311 points · first shared 2012 · 71 comments on HN
    4. 4
      Hapi, new Node.js framework (a prologue)
      1 person · 77 points · first shared 2013 · 16 comments on HN
    5. 5
      Hiring Engineers, a Process
      2 people · 69 points · first shared 2013 · 47 comments on HN
    6. 6
      XAuth – a Terrible, Horrible, No Good, Very Bad Idea
      1 person · 40 points · first shared 2010 · 9 comments on HN
    7. 7
      How to Use Open Source and Shut the Fuck Up at the Same Time
      1 person · 39 points · first shared 2016 · 10 comments on HN
    8. 8
      Explaining the OAuth Session Fixation Attack
      1 person · 29 points · first shared 2009 · 9 comments on HN
    9. 9
      Open Source Dickishness
      6 people · 22 points · first shared 2014 · 2 comments on HN
    10. 10
      My Repo, My House, My Rules
      2 people · 22 points · first shared 2019 · 4 comments on HN

    What HN people wrote when they linked it

    • blyatJan 2020

      I went on a similar journey but for OpenID Connect. While the spec is fantastic https://openid.net/specs/openid-connect-core-1_0.html#Overview, I found the same thing to be true - very little explanation of why. For example, it's very clear how each flow works and therefore how to implement, but not clear why there are so many of them. While researching and building my own implementation I eventually ran into IdentityServer3 https://identityserver.github.io/Documentation/ which had a nice intro video explaining things clearly. I also quit building my own at that point, since their offering is very well done and using the same stack as the rest of our software. I wouldn't say the docs are a good resource, but they helped a bit. There's also a version 4 now, though the documentation looks about the same.

      Also not a good resource, but acceptable: Pluralsight. There is one straight up OAuth course to go over all the basics and then quite a few language/framework specific ones, e.g. how to implement OAuth in Node/ASP.NET/etc. The OAuth course was dry but had some decent information - but I did quit halfway through it because of IdentityServer, so take that with a grain of salt.

      And yes, it sure does feel more complicated than it has any right to be. There's a good read here https://hueniverse.com/oauth-2-0-and-the-road-to-hell-8eec45921529?gi=84094c5b3f24 by the once-lead-author.

      I really do recommend checking out IdentityServer4 though, unless you're implementing this…

    • hpoeFeb 2020

      I am currently an IAM engineer and can I just throw out there how much I hate OAuth/OIDC, I work at a large org and have to integrate with dozens of different vendors and applications and not a single one has the same way of doing OAuth because to quote the spec, wait it isn't a spec it is a "framework" we have to remember that, under interoperability it says

      > OAuth 2.0 provides a rich authorization framework with well-defined security properties. However, as a rich and highly extensible framework with many optional components, on its own, this specification is likely to produce a wide range of non-interoperable implementations.

      Don't get me wrong, OAuth is still better than WS-Fed and what we had before but we really need to come up with a real standard and spec for authentication, because OAuth/OIDC is a joke. It isn't just me either that thinks this one of the authors of the OAuth spec said as much[1]

      Can anyone tell me what their experience with OAuth has been, or have they been able to get it to work across multiple different systems. I would love to believe it is just my org, but it seems like the entire identity space is a clusterfck.

      [1] https://hueniverse.com/oauth-2-0-and-the-road-to-hell-8eec45921529

    • alangpierceJul 2018

      An argument I've heard against TLS is that it's easy for clients to get wrong. In some cases, client code needs to directly check that the certificate matches the intended domain, and forgetting to do so makes TLS worthless because an attacker can just use any valid certificate. In other cases, certificate checking runs into some problem, and an inexperienced developer finds a "solution" on StackOverflow to just disable certificate checking, which, again, makes TLS worthless. In other cases, a client might make a valid TLS request to the wrong server (either by mistake or due to some other attack).

      With OAuth 2, any of these problems will leak your bearer token, meaning than an attacker can act as you until the token expires.

      With OAuth 1, you're typically going over TLS anyway, but even if an attacker knows the contents of all requests, they won't be able to act as you because they still won't be able to sign any future requests.

      Edit: I just dug up the blog post I've read that describes most of the points I made above: https://hueniverse.com/oauth-bearer-tokens-are-a-terrible-idea-1a300fd12e13

    • JoachimSchipperFeb 2010

      This is a collection of the author's favourite technologies/gripes, not a useful proposal. A large number of errors can be found by considering that it'll have to talk SMTP on the back end.

      I'll only point to some "highlights".

      OAuth isn't nearly secure enough (http://hueniverse.com/2009/04/explaining-the-oauth-session-fixation-attack/) for your e-mail (which, don't forget, gives access to everything via password resets). Let's just ignore the part about third-party access.

      Encoding everything as UTF-8 is nice, but breaks the first time some idiot mail client puts Shift-JIS encoded Japanese in the Subject: field. Without any charset marker, obviously. (This goes right back to the "where does the mail come from?" issue.)

      IMAP has a THREAD extension (solving #4), a SEARCH extension (solving #9 and parts of others), and all sensible servers support IDLE (http://en.wikipedia.org/wiki/IMAP_IDLE). It also supports downloading MIME parts separately, solving the part of #7 that can actually be solved (again, you'll have to accept mail.)

    • joshwaJun 2008

      > I wonder why someone hasn't already transitioned Twitter to a publish-subscribe architecture internally, and used a bunch of queues to buffer the impact of load spikes ( a slow tweet is not the same as a dropped tweet! ).

      c.f. Starling : http://rubyforge.org/projects/starling/

      As others have pointed out, it's not the messaging that's hard, it's the ad-hoc services-- friends-of-friends timelines, keyword search/subscriptions, etc. that are hard to scale and are what is bringing twitter down:

      http://www.hueniverse.com/hueniverse/2008/03/on-scaling-a-mi.html

      Which, to jzawodn's point, is actually really similar to what FriendFeed is doing under the hood, and doing it well.

    • fulldecent2Feb 2020

      Here is my list of solo developer blogs. Usually they are on topic. This does not include personal blogs I follow that happen to be developers.

      @mdo (Bootstrop) - http://markdotto.com/

      Keith Cirkel - https://www.keithcirkel.co.uk/

      Coding – Corbin's Treehouse - https://www.corbinstreehouse.com/blog

      Aaditya Purani – Ethical Hacker - https://aadityapurani.com/

      Ben Balter - http://ben.balter.com/

      fulldecent - https://privacylog.blogspot.com

      Orange - http://blog.orange.tw/

      Cocoa with Love - http://www.cocoawithlove.com/

      Mark Otto - http://markdotto.com/

      Moxie Marlinspike's Blog - http://www.thoughtcrime.org/blog/

      hueniverse - http://hueniverse.com/

    Related

    Unethical Bloggerunethicalblogger.com18 people

    GNU/Parallel changed my life

    Unethical Blogger
    Personal · last shared 2015
    GNOME Blogsblogs.gnome.org490 people

    AirPods fast connect security vulnerability

    GNOME Blogs
    Company · last shared 2026
    OpenFaaS Blogopenfaas.com35 people

    Show HN: Web scraping that just works with OpenFaaS with Puppeteer

    OpenFaaS Blog
    Company · last shared 2026
    A Cloud Guru Blogread.acloud.guru53 people

    Things to know before using AWS’s Elasticsearch Service

    A Cloud Guru Blog
    Company · last shared 2020
    Drew DeVaultdrewdevault.com633 people

    Firefox is on a slippery slope

    Drew DeVault
    Personal · last shared 2026
    xn--gckvb8fzbxn--gckvb8fzb.com61 people

    Thoughts on Cloudflare

    xn--gckvb8fzb
    Personal · last shared 2026
    Changelog (John Goerzen)changelog.complete.org79 people

    I introduced my 5yo and 2yo to startx and xmonad. They’re delighted.

    Changelog (John Goerzen)
    Personal · last shared 2026
    Unlimited Noveltyunlimitednovelty.com42 people

    Node.js has jumped the shark

    Unlimited Novelty
    Personal · last shared 2023