Re: [OAUTH-WG] Gen-ART Telechat review of draft-ietf-oauth-v2-bearer-18.txt

Eran Hammer <eran@hueniverse.com> Thu, 12 April 2012 03:44 UTC

Return-Path: <eran@hueniverse.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B661211E80B2; Wed, 11 Apr 2012 20:44:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 92pMGC7quluw; Wed, 11 Apr 2012 20:44:40 -0700 (PDT)
Received: from p3plex2out01.prod.phx3.secureserver.net (p3plex2out01.prod.phx3.secureserver.net [184.168.131.12]) by ietfa.amsl.com (Postfix) with ESMTP id B336011E80A6; Wed, 11 Apr 2012 20:44:40 -0700 (PDT)
Received: from P3PWEX2HT003.ex2.secureserver.net ([184.168.131.11]) by p3plex2out01.prod.phx3.secureserver.net with bizsmtp id wrkf1i0010EuLVk01rkf8V; Wed, 11 Apr 2012 20:44:39 -0700
Received: from P3PWEX2MB008.ex2.secureserver.net ([169.254.8.115]) by P3PWEX2HT003.ex2.secureserver.net ([184.168.131.11]) with mapi id 14.02.0247.003; Wed, 11 Apr 2012 20:44:39 -0700
From: Eran Hammer <eran@hueniverse.com>
To: Sean Turner <turners@ieca.com>
Thread-Topic: [OAUTH-WG] Gen-ART Telechat review of draft-ietf-oauth-v2-bearer-18.txt
Thread-Index: AQHNGDy+7gVTWsO88kiAN2vkgbM5PZaW912A
Date: Thu, 12 Apr 2012 03:44:38 +0000
Message-ID: <D5321BE6-806D-4EF1-A2DF-EA4284B29B95@hueniverse.com>
References: <4E1F6AAD24975D4BA5B16804296739436646237B@TK5EX14MBXC283.redmond.corp.microsoft.com> <4F8616D1.2080003@ieca.com>
In-Reply-To: <4F8616D1.2080003@ieca.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="us-ascii"
Content-ID: <9E1239C5316E6544A94A3AF1737CF0CD@53553.exhost2.secureserver.net>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: The IESG <iesg@ietf.org>, General Area Review Team <gen-art@ietf.org>, "draft-ietf-oauth-v2-bearer.all@tools.ietf.org" <draft-ietf-oauth-v2-bearer.all@tools.ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Gen-ART Telechat review of draft-ietf-oauth-v2-bearer-18.txt
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Thu, 12 Apr 2012 03:44:41 -0000

Issue 2 received extensive WG discussion.

At the core of it was the question of how the IETF should handle HTTP authentication error codes. We consults with the HTTPbis WG and consensus was that at this point we do not want to create a general purpose error registry for HTTP authentication schemes. In fact, Bearer is the exception using special error codes which could (and should) just use HTTP 4xx code. 

While bearer is closely linked to OAuth, it is still a standalone scheme. There was no consensus that other schemes (even the OAuth related MAC scheme) will sign into such a registry. 

In short, the OAuth error registry is not an appropriate venue for the bearer error codes. It is unfortunate that Mr. Jones failed to represent the WG consensus on this issue in his response to the IESG. 

EH

On Apr 11, 2012, at 19:42, "Sean Turner" <turners@ieca.com> wrote:

> On issue 2, Russ has already entered his ballot on the base spec so I'll pick this one up.
> 
> spt
> 
> On 4/10/12 8:25 PM, Mike Jones wrote:
>> Hi Alexey,
>> 
>> About your issue 1:  The OAuth Core spec, where "scope" is primarily defined, includes the sentence "The [scope] strings are defined by the authorization server" (see http://tools.ietf.org/html/draft-ietf-oauth-v2-25#section-3.3).  I could add that clarification to the Bearer spec as well to make it clear that the scope values are context-dependent, if that would address your concern.
>> 
>> About your issue 2:  Investigating the OAuth Errors Registry a bit further (see http://tools.ietf.org/html/draft-ietf-oauth-v2-25#section-11.4.1) while I'd like to be able to register the OAuth Bearer errors in this registry, what I believe to be a defect in the errors registry text currently prevents this.  Specifically, the registry enumerates only three "Error usage location" values:  authorization code grant error response, implicit grant error response, and token error response.  To be able to use this registry, it would also have to have a fourth usage location:  "resource access error response".  If you'd like to file an issue against the OAuth Core spec to get this additional usage location added to the registry, then I'd be glad to use it.  I believe that this would be significantly preferable to adding a separate OAuth Bearer errors registry that's exactly like the general-purpose one, only separate from it.
>> 
>>                Best wishes,
>>                -- Mike
>> 
>> -----Original Message-----
>> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf Of Alexey Melnikov
>> Sent: Tuesday, April 10, 2012 7:03 AM
>> To: draft-ietf-oauth-v2-bearer.all@tools.ietf.org
>> Cc: General Area Review Team; oauth@ietf.org; The IESG
>> Subject: [OAUTH-WG] Gen-ART Telechat review of draft-ietf-oauth-v2-bearer-18.txt
>> 
>> I am the assigned Gen-ART reviewer for this draft. For background on Gen-ART, please see the FAQ at<http://wiki.tools.ietf.org/area/gen/trac/wiki/GenArtfaq>.
>> 
>> Please resolve these comments along with any other Last Call comments you may receive.
>> Document: draft-ietf-oauth-v2-bearer-18.txt
>> Reviewer: Alexey Melnikov
>> Review Date: 10 April 2012
>> IETF LC End Date: 7 Feb 2012
>> IESG Telechat date: 12 April 2012
>> 
>> Summary: Nearly ready to be published as Proposed Standard, with a couple of things that should be addressed or at least discussed.
>> 
>> Thank you for addressing most of my other issues. However there are a couple remaining which I think are important.
>> 
>> Major Issues:
>> 
>> 1).
>>     The "scope" attribute is a space-delimited list of scope values
>>     indicating the required scope of the access token for accessing the
>>     requested resource.  In some cases, the "scope" value will be used
>>     when requesting a new access token with sufficient scope of access to
>>     utilize the protected resource.  The "scope" attribute MUST NOT
>>     appear more than once.  The "scope" value is intended for
>>     programmatic use and is not meant to be displayed to end users.
>> 
>> I don't think this provide enough information about what this is, how it is to be used and which values are allowed. As this is not meant to be displayed to end users, then you need to say what values are allowed and which entity can allocate them. Is there a registry for these tokens, e.g. an IANA registry?
>> 
>> The editor provided explanation in email, however this was not reflected in any version of the draft.
>> 
>> 2). Section "3.1.  Error Codes"
>> 
>> I've suggested to use an IANA registry for this field. Apparently there is already a registry created by<http://tools.ietf.org/html/draft-ietf-oauth-v2-23#section-11.4>.
>> However this document doesn't register values defined in section 3.1 with IANA and doesn't point to draft-ietf-oauth-v2-23 for the registry.
>> I find this to be very confusing.
>> 
>> Minor issues: none
>> 
>> Nits: none
>> 
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>> 
>> 
>> 
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth