[OAUTH-WG] On the ease of writing an authorization server

Andrew Arnott <andrewarnott@gmail.com> Tue, 15 June 2010 15:26 UTC

Return-Path: <andrewarnott@gmail.com>
X-Original-To: oauth@core3.amsl.com
Delivered-To: oauth@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D90BE3A6935 for <oauth@core3.amsl.com>; Tue, 15 Jun 2010 08:26:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.431
X-Spam-Level:
X-Spam-Status: No, score=-0.431 tagged_above=-999 required=5 tests=[AWL=-0.433, BAYES_50=0.001, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y3SwGSw3v19r for <oauth@core3.amsl.com>; Tue, 15 Jun 2010 08:26:49 -0700 (PDT)
Received: from mail-gw0-f44.google.com (mail-gw0-f44.google.com [74.125.83.44]) by core3.amsl.com (Postfix) with ESMTP id D5D723A67EA for <oauth@ietf.org>; Tue, 15 Jun 2010 08:26:48 -0700 (PDT)
Received: by gwj16 with SMTP id 16so3438747gwj.31 for <oauth@ietf.org>; Tue, 15 Jun 2010 08:26:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=gYDIIAoln4TPgMd0RIddwAImou5syK2B/8+FuXJ2kQ0=; b=omzmy3wbkxuIqbIAdW1gGULAnbp+SCV2KnahGaO6psTXKUpPiODyOnNKTZhhWYu/Yp BHjHPXfrvNDMM2cCesrNTs32W7LbICe0zC77lW4eRp2Uz/DRHeHaVB70zExbymR7zv0V spF5fh881yGzrmzLb1WCurvZAS+vuypSG2xjo=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=srqQiRGQJXd5NTW6tweFvHEXzHVBwZIcXDMw9XoZgru+EBpEhkd2jZVOPhxsQjHNzS qVGFI4mylIXr7z5lSQDD3qRc77mEpCgG3a4fuKLCGlDDz3rXSnWTF42OB0Uq8VScIsLF WgPl70m96F3eygaunffXsElombmhie7H6nM+w=
MIME-Version: 1.0
Received: by 10.150.244.1 with SMTP id r1mr8568316ybh.374.1276615158770; Tue, 15 Jun 2010 08:19:18 -0700 (PDT)
Received: by 10.151.26.19 with HTTP; Tue, 15 Jun 2010 08:19:18 -0700 (PDT)
Date: Tue, 15 Jun 2010 08:19:18 -0700
Message-ID: <AANLkTimcxhzhOAiKTN8rZIJRw3LkNmRu5wYOa0HnVrsO@mail.gmail.com>
From: Andrew Arnott <andrewarnott@gmail.com>
To: "OAuth WG (oauth@ietf.org)" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000e0cd343ac0dac03048913217d"
Subject: [OAUTH-WG] On the ease of writing an authorization server
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/oauth>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jun 2010 15:26:50 -0000

I've read a few comments on this DL that a primary goal is that writing an
OAuth 2.0 client should be very easy.  I think we're doing well here.  I
know this ease for the client necessarily comes at the expense of some
complexity on the server.  As has also been pointed out recently (by Eran, I
believe) the AS' job is considerably more complex now than it was in OAuth
1.0.

While overall this *may* be a win, it also seems optimized for the few large
service providers that are driving the spec (Facebook, Twitter, etc.).  They
definitely have the resources and understanding that a large investment in
security is important.  But as more web sites across the Internet drop using
user passwords in favor of federated identity and/or OpenID-type protocols,
the only way these sites can delegate access to user data will be to use a
protocol like OAuth 2.0 since user passwords will no longer apply.
Therefore *very *many web sites will become OAuth 2.0 resource servers, and
likely given their size and requirements will be their on authorization
server as well.  Now we have a complex server-side protocol that may be
"too" complex for the average-sized web site to implement correctly and
confidently.

So my $0.02 here is that we try to keep the AS side simple as well where
possible.  And invite responses from others.

--
Andrew Arnott
"I [may] not agree with what you have to say, but I'll defend to the death
your right to say it." - S. G. Tallentyre