News for hackers. Stuff that matters.

Poll: OAuth 1.0a or OAuth 2.0 in a Docker container?

We are working on creating a Docker container that makes it easy to become an OAuth provider.

What would you prefer for your apps and why: OAuth 1.0a, OAuth 2.0 or some other protocol?

If you want some other protocol, please add it in the comments

Disclosure : I'm the creator of the open source daemon oauthd and founder of oauth.io.

( 5 comments | 15 points | on HN )

Poll

OAuth 1.0a 4 votes
OAuth 2.0 39 votes
Other 1 vote
Re:Poll: OAuth 1.0a or OAuth 2.0 in a Docker container? by midhem on Saturday December 28, 2013 @02:33PM (#6976037)
Why not both? Big companies may prefer 1.0a for security and startups OAuth2.0 for flexibility about permissions and growth with easier integration by partners
Re:Poll: OAuth 1.0a or OAuth 2.0 in a Docker container? by pan69 on Saturday December 28, 2013 @03:41PM (#6976456)
I agree with this. For a Docker container to be valuable to companies (i.e. willing to pay money for it, I assume that's the goal), it should support both.

How are you planning to integrate the Docker container with the business authentication/authorization? LDAP?

Re:Poll: OAuth 1.0a or OAuth 2.0 in a Docker container? by nailer on Saturday December 28, 2013 @05:54PM (#6977037)
OAuth1's /ridiculously/ complex.

OAuth2 fits in a tweet: get a login URL, user visits it, redirects back to you with an auth code, swap it for an access token.

Out of the major players:

- Google, Microsoft, Facebook, Instagram uses OAuth2.

- Only Twitter uses OAuth 1.

Re:Poll: OAuth 1.0a or OAuth 2.0 in a Docker container? by pan69 on Sunday December 29, 2013 @06:09AM (#6979212)
> OAuth1's /ridiculously/ complex.

That's way a Docker container that does it for you would be so valuable.

Re:Poll: OAuth 1.0a or OAuth 2.0 in a Docker container? by nailer on Sunday December 29, 2013 @01:59PM (#6980732)
That's true, but there's no need to make new oauth 1 servers: people hate writing clients for it.