Re: [OAUTH-WG] Issue: Scope parameter
David Recordon <recordond@gmail.com> Mon, 19 April 2010 02:04 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 0BB3F3A6803 for <oauth@core3.amsl.com>; Sun, 18 Apr 2010 19:04:52 -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 fkx0lE7xb3tP for <oauth@core3.amsl.com>; Sun, 18 Apr 2010 19:04:51 -0700 (PDT)
Received: from mail-yw0-f200.google.com (mail-yw0-f200.google.com [209.85.211.200]) by core3.amsl.com (Postfix) with ESMTP id E922028C0E1 for <oauth@ietf.org>; Sun, 18 Apr 2010 19:04:50 -0700 (PDT)
Received: by ywh38 with SMTP id 38so2353022ywh.29 for <oauth@ietf.org>; Sun, 18 Apr 2010 19:04:39 -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:content-type; bh=iV6kLzBYH1Farrh1DBsUuwV77AW6bAJ7+rjU4YkSq+4=; b=ioMx+lbPC9z+822SX1RpOZRpy8YePdInxQyEq88bbeX4ThmRY8lkfEVImq3k0eYjqk 8vAhhaH/CrjOYSXKDI6isOdk5leRfYQ2YvEKOaa2PCkfTvr3WD987Uwb3pjImjWxmvDh VZSRi9kMhd+uaLHk/KDyNfGV7gZVycJDZrLIk=
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 :content-type; b=ESo1A8aQe9SPyRLwbbIfpk8ZLAW9hzbPxbxeic4fs3mtDmKN9pbJGtM5GJ8Lo06MpK vChlw7IaHBhzG2XiGdhCP7VviuUwcVM4AYGLhWIWtDitr0cjSXjoNeNDZzFx0QU4Qygq Ypvz2PLv5UUNquoSaov+etPwhvMfV89iR3wKU=
MIME-Version: 1.0
Received: by 10.231.182.196 with HTTP; Sun, 18 Apr 2010 19:04:39 -0700 (PDT)
In-Reply-To: <1676FB17-48B2-4125-991C-CE996C4DE66B@gmail.com>
References: <C7ECB1F7.32357%eran@hueniverse.com> <h2l987bab591004181812ve43197f9la55f59b753bd2959@mail.gmail.com> <o2wfd6741651004181838ob1dda59bpf7cb88d3b1892c1d@mail.gmail.com> <1676FB17-48B2-4125-991C-CE996C4DE66B@gmail.com>
Date: Sun, 18 Apr 2010 19:04:39 -0700
Received: by 10.150.170.11 with SMTP id s11mr5383689ybe.241.1271642679443; Sun, 18 Apr 2010 19:04:39 -0700 (PDT)
Message-ID: <g2sfd6741651004181904q2f242fcexf2f7892c9b512068@mail.gmail.com>
From: David Recordon <recordond@gmail.com>
To: OAuth WG <oauth@ietf.org>
Content-Type: text/plain; charset="ISO-8859-1"
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: Mon, 19 Apr 2010 02:04:52 -0000
Does anyone have an implementation example where comma separated strings wouldn't work for the scope parameter? On Sun, Apr 18, 2010 at 6:47 PM, Dick Hardt <dick.hardt@gmail.com> wrote: > I would leave that to be AS defined -- different delimiters make sense in different environments -- it could be an expression -- just make it a string -- it will need to be URL encoded which will deal with any magic characters. > > -- Diok > > > On 2010-04-18, at 6:38 PM, David Recordon wrote: > >> I think we need to add a bit more definition to the scope parameter. >> Maybe as simple as a comma-separated list of strings. >> >> >> On Sun, Apr 18, 2010 at 6:12 PM, Dick Hardt <dick.hardt@gmail.com> wrote: >>> The scope parameter was included in WRAP at the request of library and AS >>> implementors to standardize a commonly included parameters. >>> The client_id parameter seems similar to the scope parameter. The meaning of >>> client_id is not defined in the spec and is AS specific. A client_id that a >>> developer uses with one AS may be different at a different AS. >>> The argument that defining the scope parameter will cause more confusion is >>> confusing itself. Why would a developer think they can use the same scope at >>> two different AS? The developer has to manage different client_ids, >>> different endpoint URIs and different PRs: not to mention different APIs. >>> Having a different scope between AS seems natural. Having a vendor defined >>> parameter name for different AS that all mean scope seems suboptimal. >>> A related example. Email has a subject parameter, we all have a similar idea >>> what it means, and it can be used differently in different situations, but >>> it was useful to create the placeholder for the optional subject of an email >>> message. >>> Proposal: put optional scope parameter back into all calls to obtain an >>> access token. Put optional scope parameter into calls to refresh an access >>> token. >>> -- Dick >>> >>> 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 >>> >>> > >
- [OAUTH-WG] Issue: Scope parameter Eran Hammer-Lahav
- Re: [OAUTH-WG] Issue: Scope parameter Marius Scurtescu
- Re: [OAUTH-WG] Issue: Scope parameter David Recordon
- Re: [OAUTH-WG] Issue: Scope parameter Eran Hammer-Lahav
- Re: [OAUTH-WG] Issue: Scope parameter Marius Scurtescu
- Re: [OAUTH-WG] Issue: Scope parameter Eran Hammer-Lahav
- Re: [OAUTH-WG] Issue: Scope parameter David Recordon
- Re: [OAUTH-WG] Issue: Scope parameter Justin Smith
- Re: [OAUTH-WG] Issue: Scope parameter Manger, James H
- Re: [OAUTH-WG] Issue: Scope parameter Justin Smith
- Re: [OAUTH-WG] Issue: Scope parameter Manger, James H
- Re: [OAUTH-WG] Issue: Scope parameter Justin Smith
- Re: [OAUTH-WG] Issue: Scope parameter Marius Scurtescu
- Re: [OAUTH-WG] Issue: Scope parameter Manger, James H
- Re: [OAUTH-WG] Issue: Scope parameter Mark Mcgloin
- Re: [OAUTH-WG] Issue: Scope parameter Manger, James H
- Re: [OAUTH-WG] Issue: Scope parameter Justin Smith
- Re: [OAUTH-WG] Issue: Scope parameter Eran Hammer-Lahav
- Re: [OAUTH-WG] Issue: Scope parameter Torsten Lodderstedt
- Re: [OAUTH-WG] Issue: Scope parameter Dick Hardt
- Re: [OAUTH-WG] Issue: Scope parameter Manger, James H
- Re: [OAUTH-WG] Issue: Scope parameter Torsten Lodderstedt
- Re: [OAUTH-WG] Issue: Scope parameter David Recordon
- Re: [OAUTH-WG] Issue: Scope parameter Dick Hardt
- Re: [OAUTH-WG] Issue: Scope parameter David Recordon
- Re: [OAUTH-WG] Issue: Scope parameter Marius Scurtescu
- Re: [OAUTH-WG] Issue: Scope parameter Luke Shepard
- Re: [OAUTH-WG] Issue: Scope parameter Eran Hammer-Lahav
- Re: [OAUTH-WG] Issue: Scope parameter Dick Hardt
- Re: [OAUTH-WG] Issue: Scope parameter Dick Hardt
- Re: [OAUTH-WG] Issue: Scope parameter Eran Hammer-Lahav
- Re: [OAUTH-WG] Issue: Scope parameter Anthony Nadalin
- Re: [OAUTH-WG] Issue: Scope parameter Torsten Lodderstedt
- Re: [OAUTH-WG] Issue: Scope parameter Eran Hammer-Lahav
- Re: [OAUTH-WG] Issue: Scope parameter Evan Gilbert
- Re: [OAUTH-WG] Issue: Scope parameter Justin Richer
- Re: [OAUTH-WG] Issue: Scope parameter Eran Hammer-Lahav