Re: [OAUTH-WG] Draft -07 (major rewrite)

Eran Hammer-Lahav <eran@hueniverse.com> Mon, 14 June 2010 18:38 UTC

Return-Path: <eran@hueniverse.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 E45863A697A for <oauth@core3.amsl.com>; Mon, 14 Jun 2010 11:38:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.084
X-Spam-Level:
X-Spam-Status: No, score=-2.084 tagged_above=-999 required=5 tests=[AWL=0.515, BAYES_00=-2.599]
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 laIn1RIcj9mo for <oauth@core3.amsl.com>; Mon, 14 Jun 2010 11:38:45 -0700 (PDT)
Received: from p3plex1out02.prod.phx3.secureserver.net (p3plex1out02.prod.phx3.secureserver.net [72.167.180.18]) by core3.amsl.com (Postfix) with SMTP id C13953A6973 for <oauth@ietf.org>; Mon, 14 Jun 2010 11:38:44 -0700 (PDT)
Received: (qmail 25160 invoked from network); 14 Jun 2010 18:38:48 -0000
Received: from unknown (HELO smtp.ex1.secureserver.net) (72.167.180.20) by p3plex1out02.prod.phx3.secureserver.net with SMTP; 14 Jun 2010 18:38:48 -0000
Received: from P3PW5EX1MB01.EX1.SECURESERVER.NET ([10.6.135.20]) by P3PW5EX1HT002.EX1.SECURESERVER.NET ([72.167.180.20]) with mapi; Mon, 14 Jun 2010 11:38:46 -0700
From: Eran Hammer-Lahav <eran@hueniverse.com>
To: Brian Eaton <beaton@google.com>
Date: Mon, 14 Jun 2010 11:38:49 -0700
Thread-Topic: [OAUTH-WG] Draft -07 (major rewrite)
Thread-Index: AcsL7rOg3MqPu4OlQfmb9F6+uitxlAAAfyVw
Message-ID: <90C41DD21FB7C64BB94121FBBC2E72343B3EBB675A@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <90C41DD21FB7C64BB94121FBBC2E72343B3EAF76BC@P3PW5EX1MB01.EX1.SECURESERVER.NET> <AANLkTin_3ZUINYkl8YJCTbqAQgPM47AqTvjLN81tMtFS@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E72343B3EBB66AC@P3PW5EX1MB01.EX1.SECURESERVER.NET> <AANLkTikBY0-NIKTxg4SIHcSszQDJ4QSN31KFOH4--Vf7@mail.gmail.com>
In-Reply-To: <AANLkTikBY0-NIKTxg4SIHcSszQDJ4QSN31KFOH4--Vf7@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "OAuth WG (oauth@ietf.org)" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Draft -07 (major rewrite)
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: Mon, 14 Jun 2010 18:38:46 -0000

> -----Original Message-----
> From: Brian Eaton [mailto:beaton@google.com]
> Sent: Monday, June 14, 2010 11:23 AM
> To: Eran Hammer-Lahav
> Cc: Andrew Arnott; OAuth WG (oauth@ietf.org)
> Subject: Re: [OAUTH-WG] Draft -07 (major rewrite)
> 
> On Mon, Jun 14, 2010 at 9:18 AM, Eran Hammer-Lahav
> <eran@hueniverse.com> wrote:
> > Adding a verification code to the user-agent flow was suggested on
> > this list and received nothing but support. It was suggested as a
> > solution to a Twitter use case. Once that is added in, the two flows
> > only differ in how the response is delivered and the presence of an
> > access token in the response (which currently is a MUST NOT for
> > web-server but I don't know if this restriction is need).
> 
> Yeah, this matters.  If you return an access token on the web-server flow,
> several things break:
> - you can no longer rely on the client secret to authenticate the callback URL.
> - you lose all hope of getting to LOA 2 with this protocol, because the access
> token is visible to the client.
> - you lose the clarity of how the web server flow is supposed to work.

Ok. No change needed.
 
> Bike-shed painting:
> 
> The use-cases for web server and user-agent flow are also different.
> I'd prefer to have the spec call out different profiles for different use-cases,
> because it makes it much easier to figure out what a given application should
> be doing.
> 
> During the WRAP work I argued that we didn't need a type parameter, and
> after looking at WRAP implementations I've changed my mind.
> Please leave it in.

Which one? The type on the end-user authorization endpoint (user_agent and web_server) or the type on the token endpoint?

EHL