# How the OAuth Security Battle Was Won, Open Web Style

A security hole in OAuth surfaced days after Twitter launched delegated sign-in — and the open-web community patched it in public within days.

Record as of 25 April 2009. Labels written by Codex, for review. JSON: <https://texxr.com/v3/article/1185159.json>

## How the OAuth Security Battle Was Won, Open Web Style

*as of 25 April 2009; judged by one reader, needs review*

**In one line:** The publisher’s headline and the coverage around it.

ReadWriteWeb · Marshall Kirkpatrick · [25 April 2009](/2009/04/25) · [Read original](http://www.readwriteweb.com/archives/how_the_oauth_security_battle_was_won_open_web_sty.php)

Last Friday was a hot day in Sebastopol, California.  Eran Hammer-Lahav rolled into town hours after finding out that there was a security hole in his pet project for the last few months, a new way to use [Twitter](/entity/twitter) to log …

**Context**

The story closes a fast loop that opened barely a week earlier: on April 18 Eran Hammer-Lahav introduced ['Sign-in with Twitter'](/1185106), making [Twitter](/entity/twitter) a delegated sign-in provider for third-party sites on standard OAuth, and on April 22 Twitter followed up explaining how [[a:1185137\|OAuth lets apps like We Follow and TipJoy access accounts without users handing over credentials]]. Then a security hole surfaced in the protocol itself — Hammer-Lahav's own project — and the fix was worked out openly, in Sebastopol, rather than behind closed doors at any single vendor.

That sequence is why this matters beyond Twitter: a security flaw in a young open standard could have killed confidence in delegated login just as it was gaining real-world deployment. Instead the community patched it in public and in days, which is what ReadWriteWeb means by the battle being won 'open web style.'

*First-order effects*

- Developers who had just built against 'Sign-in with Twitter' get an amended OAuth spec within days of the flaw's discovery — their integrations keep working without users re-sharing passwords.

*Second-order effects*

- Other services weighing delegated authentication now have evidence that an open standard can absorb a security crisis faster than a proprietary fix cycle, raising the bar for any rival credential-sharing scheme.

*Third-order effects*

- If open, community-patched protocols become the norm for web identity, the industry shifts toward a shared trust layer where no single company owns the sign-in mechanism — the precondition for the rumored proliferation of interconnected 'networks of networks' rather than one dominant service.

**The trend:** Web authentication is consolidating around open delegated-identity standards whose security is maintained by community process, with Twitter's early adoption as a proving ground.

Related: [Trust-Layer Interoperability](/concepts#trust-layer-interoperability) · [Trust as platform infrastructure](/concepts#trust-as-platform-infrastructure) · [Twitter](/entity/twitter) · Eran Hammer-Lahav · [Introducing ‘Sign-in with Twitter’](/1185106)

**Entities**

- [Twitter](/entity/twitter)
- Eran Hammer-Lahav

**Relationships**

- Eran Hammer-Lahav controversy [OAuth](/entity/oauth), [Twitter](/entity/twitter) · confirmed · A security hole is discovered in Eran Hammer-Lahav's OAuth project for logging into sites via Twitter.
- Eran Hammer-Lahav competitor [OAuth](/entity/oauth), open web · confirmed · OAuth wins its security battle and prevails as the open-web style approach to web authentication.

**Similar stories**

- [Why Twitter's New Security Solution Could Pave the Way to a Future Web of Mashups](https://texxr.com/1251868/twitter-new-security-paves-mashup-future) · ReadWriteWeb, 24 January 2009 · [publisher](<http://www.readwriteweb.com/archives/why_twitters_new_oauth_matters.php>) · 71%
- [Twitter fanatic glimpses dark side of OAuth](https://texxr.com/1252946/twitterfan-discovers-oauth-dark-side) · The Register, 5 November 2009 · [publisher](<http://www.theregister.co.uk/2009/11/04/oauth_dark_side/>) · 69%
- [Is There a Looming Battle Over OAuth's Successor?](https://texxr.com/1253050/oauth-successor-sparks-lingering-battle) · Louis Gray, 26 November 2009 · [publisher](<http://blog.louisgray.com/2009/11/is-there-looming-battle-over-oauths.html>) · 68%
- [OAuth and OpenID Authentication Vulnerable To “Timing Attack”](https://texxr.com/1253892/oauth-openid-vulnerable-to-timing-attack) · The Next Web, 17 July 2010 · [publisher](<http://thenextweb.com/socialmedia/2010/07/17/oauth-and-openid-authentication-vulnerable-to-timing-attack/>) · 63%
- [OAuth 2.0 leader resigns, says standard is ‘bad’](https://texxr.com/1196986/oauth-leader-resigns-calls-standard-bad) · CNET, 27 July 2012 · [publisher](<http://news.cnet.com/8301-1023_3-57481166-93/oauth-2.0-leader-resigns-says-standard-is-bad/>) · 62%
- [What's The Deal with OAuth?](https://texxr.com/1185137/oauth-explained-for-web-developers) · Twitter Blog, 22 April 2009 · [publisher](<http://blog.twitter.com/2009/04/whats-deal-with-oauth.html>) · 62%
- [Whoa, Google, That's A Pretty Big Security Hole](https://texxr.com/1189054/google-faces-major-security-hole) · TechCrunch, 20 November 2010 · [publisher](<http://techcrunch.com/2010/11/20/whoa-google-thats-a-pretty-big-security-hole/>) · 61%
- [Google's new buggy microblogging Web app aims to educate](https://texxr.com/1187613/google-microblogging-app-exposes-bugs) · Ars Technica, 4 May 2010 · [publisher](<http://arstechnica.com/web/news/2010/05/googles-new-buggy-microblogging-web-app-aims-to-educate.ars>) · 60%
- [Twitter, Even More Open Than We Wanted](https://texxr.com/1185493/twitter-exposes-internal-information) · Twitter Blog, 15 July 2009 · [publisher](<http://blog.twitter.com/2009/07/twitter-even-more-open-than-we-wanted.html>) · 60%
- [All about the “onMouseOver” incident](https://texxr.com/1188378/twitter-fixes-onmouseover-security-exploit) · Twitter Blog, 21 September 2010 · [publisher](<http://blog.twitter.com/2010/09/all-about-onmouseover-incident.html>) · 60%
- [Two tastes better together: Combining OpenID and OAuth with OpenID Connect](https://texxr.com/1242955/openid-connect-combines-openid-and-oauth) · FactoryCity, 17 May 2010 · [publisher](<http://factoryjoe.com/blog/2010/05/16/combing-openid-and-oauth-with-openid-connect/>) · 60%
- [Introducing ‘Sign-in with Twitter’, OAuth-Style “Connect”](https://texxr.com/1185106/twitter-launches-oauth-sign-in) · Hueniverse, 18 April 2009 · [publisher](<http://www.hueniverse.com/hueniverse/2009/04/twitter-connect.html>) · 59%
- [an unwarranted bashing of Twitter's oAuth](https://texxr.com/1274294/twitter-oauth-faces-unwarranted-criticism) · Benlog, 3 September 2010 · [publisher](<http://benlog.com/articles/2010/09/02/an-unwarranted-bashing-of-twitters-oauth/>) · 59%
- [Employees Challenged To Crack Facebook Security, Succeed](https://texxr.com/1243006/facebook-employees-crack-security-challenge-succeed) · TechCrunch, 6 July 2010 · [publisher](<http://techcrunch.com/2010/07/05/employees-challenged-to-crack-facebook-security-succeed/>) · 59%
- [How Apple and Amazon Security Flaws Led to My Epic Hacking](https://texxr.com/1293367/apple-amazon-security-flaws-enable-hacking) · Wired, 6 August 2012 · [publisher](<http://www.wired.com/gadgetlab/2012/08/apple-amazon-mat-honan-hacking/>) · 59%
- [New ‘OpenID Connect’ Proposal Could Solve Many of the Social Web's Woes](https://texxr.com/1246680/openid-connect-proposes-social-web-fix) · Webmonkey, 15 May 2010 · [publisher](<http://www.webmonkey.com/2010/05/new-openid-connect-proposal-could-solve-many-of-the-social-webs-woes/>) · 59%
- [Your Email Password: A True Horror Story About Why We Need Authentication Standards](https://texxr.com/1289806/email-password-theft-exposes-authentication-flaws) · ReadWriteWeb, 8 March 2008 · [publisher](<http://www.readwriteweb.com/archives/your_email_password_a_true_hor.php>) · 58%
- [Twitter and the Password Anti-Pattern](https://texxr.com/1184317/twitter-password-security-flaws-persist) · FactoryCity, 3 January 2009 · [publisher](<http://factoryjoe.com/blog/2009/01/02/twitter-and-the-password-anti-pattern/>) · 58%
- [Why f8 was good for the open web](https://texxr.com/1253439/f8-boosts-open-web-adoption) · O'Reilly Radar, 24 April 2010 · [publisher](<http://radar.oreilly.com/2010/04/why-f8-was-good-for-the-open-w.html>) · 58%
- [Is OpenID Being Exploited By The Big Internet Companies?](https://texxr.com/1250561/openid-faces-exploitation-by-big-companies) · TechCrunch, 24 March 2008 · [publisher](<http://www.techcrunch.com/2008/03/24/is-openid-being-exploited-by-the-big-internet-companies/>) · 58%

- **Judged:** Scribe wrote the corpus context.

## Sources

### The TEXXR article archive

*Section `articles`, as of 25 April 2009; judged by one reader, needs review*

The archive supplies the article and its links. Similar stories use the saved text vectors.

**Method**

- The archive holds the headline, publisher excerpt, coverage and discussion.
- Relationships use the article ID. Similar stories use the archive’s stored text vectors.

**Limits**

- Some articles have no Scribe context, recorded tags or relationships.
