Re: [OAUTH-WG] Issue: Scope parameter

Justin Smith <justinsm@microsoft.com> Thu, 15 April 2010 23:42 UTC

Return-Path: <justinsm@microsoft.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 1864F3A63C9 for <oauth@core3.amsl.com>; Thu, 15 Apr 2010 16:42:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level:
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
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 pQukwptoyPFW for <oauth@core3.amsl.com>; Thu, 15 Apr 2010 16:41:59 -0700 (PDT)
Received: from smtp.microsoft.com (maila.microsoft.com [131.107.115.212]) by core3.amsl.com (Postfix) with ESMTP id 1948F3A6AB2 for <oauth@ietf.org>; Thu, 15 Apr 2010 16:41:43 -0700 (PDT)
Received: from TK5EX14CASC131.redmond.corp.microsoft.com (157.54.52.38) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.2.176.0; Thu, 15 Apr 2010 16:41:35 -0700
Received: from TK5EX14MBXC115.redmond.corp.microsoft.com ([169.254.4.239]) by TK5EX14CASC131.redmond.corp.microsoft.com ([157.54.52.38]) with mapi; Thu, 15 Apr 2010 16:41:33 -0700
From: Justin Smith <justinsm@microsoft.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>, Marius Scurtescu <mscurtescu@google.com>, "recordond@gmail.com" <recordond@gmail.com>
Thread-Topic: [OAUTH-WG] Issue: Scope parameter
Thread-Index: AQHK3NEWvq+1OOTFrkS1RWT2flQ40pIkXsgAgAADXwCAAAODAP//ySWw
Date: Thu, 15 Apr 2010 23:39:10 +0000
Deferred-Delivery: Thu, 15 Apr 2010 23:40:00 +0000
Message-ID: <191F411E00E19F4E943ECDB6D65C60851691F095@TK5EX14MBXC115.redmond.corp.microsoft.com>
References: <h2o74caaad21004151238w60c3afd3td8dccdd8a7127a4a@mail.gmail.com> <C7ECBC36.32379%eran@hueniverse.com>
In-Reply-To: <C7ECBC36.32379%eran@hueniverse.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative; boundary="_000_191F411E00E19F4E943ECDB6D65C60851691F095TK5EX14MBXC115r_"
MIME-Version: 1.0
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Issue: Scope parameter
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: Thu, 15 Apr 2010 23:42:02 -0000

I don't see how the presence of a scope parameter hurts interoperability.

It think scope needs to be a 1st class citizen in the spec, not an extension. Without it, a client cannot request access to a specific set of resources (whether its represented as a string, URI, or anything else). Does the group think it Is important for an Authorization Server to be able to make auth decisions based on requested resources?

From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf Of Eran Hammer-Lahav
Sent: Thursday, April 15, 2010 12:51 PM
To: Marius Scurtescu; recordond@gmail.com
Cc: OAuth WG
Subject: Re: [OAUTH-WG] Issue: Scope parameter

1. Write it
2. Comply with naming policy of new parameters*
3. Publish and get feedback.
4. Fix and repeat #3 as needed.
5. Register new parameter name*

:-)

* Pending new parameter name policy

For now just call it 'scope'.

EHL


On 4/15/10 12:38 PM, "Marius Scurtescu" <mscurtescu@google.com> wrote:
Sure. Do we have a mechanism to define extensions?

Marius



On Thu, Apr 15, 2010 at 12:26 PM, David Recordon <recordond@gmail.com> wrote:
> Marius, why don't we write a one page spec which defines scope as an
> extension? We end up with agreement around if scope is a useful
> parameter and a simple parameter name for multiple vendors (because it
> is an extension). Since you seem to be advocating for including scope
> the most, would you mind trying to write out a few paragraphs?
>
> Thanks,
> --David
>
>
> On Thu, Apr 15, 2010 at 12:20 PM, Marius Scurtescu
> <mscurtescu@google.com> wrote:
>> I still have not seen any arguments why scope structure is needed for
>> interop. Client and server side libraries do not need to understand
>> the scope, they just pass it around. Client and server code do need to
>> understand the scope, but we are not dealing with that.
>>
>> Yes, a scope parameter does not buy much, it only prevents each authz
>> server from inventing their own custom parameter.
>>
>> Marius
>>
>>
>>
>> On Thu, Apr 15, 2010 at 12:07 PM, Eran Hammer-Lahav <eran@hueniverse.com> wrote:
>>> WRAP includes a loosely defined scope parameter which allows for
>>> vendor-specific (and non-interoperable) use cases. This was requested by
>>> many working group members to be included in OAuth 2.0 with the argument
>>> that while it doesn't help interop, it makes using clients easier.
>>>
>>> The problem with a general purpose scope parameter that is completely
>>> undefined in structure is that it hurts interop more than it helps. It
>>> creates an expectation that values can be used across services, and it
>>> cannot be used without another spec defining its content and structure. Such
>>> as spec can simply define its own parameter.
>>>
>>> In addition, it is not clear what belongs in scope (list of resources,
>>> access type, duration of access, right to share data, rights to
>>> re-delegate).
>>>
>>> The rules should be that if a parameter cannot be used without another
>>> documentation, it should be defined in that other document.
>>>
>>> Proposal: Request proposals for a scope parameter definition that improve
>>> interop. Otherwise, keep the parameter out of the core spec.
>>>
>>> EHL
>>>
>>> _______________________________________________
>>> 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
>>
>