Re: [OAUTH-WG] Issue: Scope parameter

David Recordon <recordond@gmail.com> Thu, 15 April 2010 19:26 UTC

Return-Path: <recordond@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 B9F4E3A68B8 for <oauth@core3.amsl.com>; Thu, 15 Apr 2010 12:26:50 -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=[AWL=0.000, 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 NCUUQ6CVuolY for <oauth@core3.amsl.com>; Thu, 15 Apr 2010 12:26:49 -0700 (PDT)
Received: from mail-pv0-f172.google.com (mail-pv0-f172.google.com [74.125.83.172]) by core3.amsl.com (Postfix) with ESMTP id 5D4C73A68A2 for <oauth@ietf.org>; Thu, 15 Apr 2010 12:26:35 -0700 (PDT)
Received: by pvf33 with SMTP id 33so1160352pvf.31 for <oauth@ietf.org>; Thu, 15 Apr 2010 12:26:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=vNUFEeM3gQt3WqyfmTaRF5YTFuZkpbO7csEYJxd3GWM=; b=ibZ5yX+8eCaVHINJz5j469iDk/eu07kKE+ZTS/q5rUDXcVOtTagW+3UIaJV4fpygsi BRb3lovca3L8eQhJML+krajo8gLEAXDAdo/JInJBGFvhlbbNH2fKJjbVybQaBNnZZebZ 4NisujECITw2xyCiEITsd8Mr2KjRnfFw9qaCA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QD9x6L5ZEH6YyDdzwDwB1Z52S+vwKLT+QCws7OThZyR3fqELC7Hb95nwOVyy6GYpP8 gDUo7IJTWhZ/5WXWpvUtnO19vrRPcz9rRfxb8FF94+9zgWWkRkVYp5IiELHhArS8APdo 7G5Z7Tl7Cb+2Mx6ScxluxBxm3BX05vlhLSQdw=
MIME-Version: 1.0
Received: by 10.231.182.196 with HTTP; Thu, 15 Apr 2010 12:26:24 -0700 (PDT)
In-Reply-To: <m2n74caaad21004151220qac3a829em2dc17f1c93b6efa1@mail.gmail.com>
References: <C7ECB1F7.32357%eran@hueniverse.com> <m2n74caaad21004151220qac3a829em2dc17f1c93b6efa1@mail.gmail.com>
Date: Thu, 15 Apr 2010 12:26:24 -0700
Received: by 10.114.237.24 with SMTP id k24mr774781wah.29.1271359585040; Thu, 15 Apr 2010 12:26:25 -0700 (PDT)
Message-ID: <m2pfd6741651004151226r925959f4u622396e63c950a1e@mail.gmail.com>
From: David Recordon <recordond@gmail.com>
To: Marius Scurtescu <mscurtescu@google.com>
Content-Type: text/plain; charset="ISO-8859-1"
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 19:26:50 -0000

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
>