Re: [OAUTH-WG] Possible alternative resolution to issue 26

William Mills <wmills@yahoo-inc.com> Tue, 04 October 2011 23:53 UTC

Return-Path: <wmills@yahoo-inc.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 5141721F8CDE for <oauth@ietfa.amsl.com>; Tue, 4 Oct 2011 16:53:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.399
X-Spam-Level:
X-Spam-Status: No, score=-17.399 tagged_above=-999 required=5 tests=[AWL=0.199, BAYES_00=-2.599, HTML_MESSAGE=0.001, USER_IN_DEF_WHITELIST=-15]
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 Q5GfwJaB45Et for <oauth@ietfa.amsl.com>; Tue, 4 Oct 2011 16:53:07 -0700 (PDT)
Received: from nm20-vm0.bullet.mail.bf1.yahoo.com (nm20-vm0.bullet.mail.bf1.yahoo.com [98.139.213.165]) by ietfa.amsl.com (Postfix) with SMTP id 5301E21F8CDC for <oauth@ietf.org>; Tue, 4 Oct 2011 16:53:07 -0700 (PDT)
Received: from [98.139.212.151] by nm20.bullet.mail.bf1.yahoo.com with NNFMP; 04 Oct 2011 23:56:08 -0000
Received: from [98.139.212.237] by tm8.bullet.mail.bf1.yahoo.com with NNFMP; 04 Oct 2011 23:56:08 -0000
Received: from [127.0.0.1] by omp1046.mail.bf1.yahoo.com with NNFMP; 04 Oct 2011 23:56:08 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 360448.399.bm@omp1046.mail.bf1.yahoo.com
Received: (qmail 51997 invoked by uid 60001); 4 Oct 2011 23:56:07 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com; s=ginc1024; t=1317772567; bh=vgWJ8LZZBuQU3QM2JJYPVfYIHYed5i4nsAJwKcgbLJk=; h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=e0sthhkPuzja8fMxagoTeV8Q72qB2bFvj9tdeWFn7qdFedc3oyUBRns2H4POZQBP787dd7E2GksaDhpUy68FepGjRSSo4mWmgA7Mus3i5DT+jN6s+7McrO1SBxuaIFSYN8DzC32dFSdi2YzyyQFr0l5mU+2vUNuOPTdzpcBKTS8=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ginc1024; d=yahoo-inc.com; h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=I+4OUfSmCUtNCexzFnUX72vJRF8gRwWmp5/mzbHZ5pa2G7+PjIO/aowQY/mGnx4jp/sVflZyRTYmzDwh6Znct+bHJutjlrR8f4hN9N6McvvErAJ22jtah8AhnYrm9jSLw79aJnILjUz/wNXXJ8lrdi2BUxVi8BVX8L8gKRJqLXE=;
X-YMail-OSG: yLRDjSUVM1nQyDrqpRIpGKiouOwesKi7XdF89dxoUmC6FkC c3gkA9hofezJb_IEr1sbOdQJcOPgsVY7mOpsgzlEv5uvgcV5_Tq1alPH0_1O _yEBBeRCWLsYAoYkmh.wb3Y_837TPCetUZbXdctqmry4Gjyj9WdoQH1mrSRp 6ZLPyBkMH9DQ7JZVQ1zA5LJtbf_1RNh7BvqSdikM72vY23rNIHge_hbkKfIi IXYUdWpkawfwbukpNARFgbMmHd6i9CHfLOV8Ylmb_lyS0RKK17vKmgGr9EJp F7WGmhz1tL1_XcItXr4XJlNtj.En.qhCOJThTaw.q6CayuN1gXvmtCS5vCTQ Z.kkw_7rmAOM.4wy3LTh3QZxoG6qkpbgioi8kv2OFas2DGgvhpfXS9gVd4lt l_E9WbQiCycNsVhN7d5UVhHJNo5E.Qe.P0aZI71rXqiuY06b0TMk2aMoQdR_ 8xP1MC2AzRw96Iy0YsyVeE5AET5u0bdOSzPdjPSfbcGl8LN8.2jcXzshmaPn o5t.d_pI.NyPCW_2pLq9Z41J5g2iso.1kdHD61Mp00PVK6SX7SBl1dYSxcHe v9UN1AK5JX9hJN0gELA--
Received: from [99.31.212.42] by web31811.mail.mud.yahoo.com via HTTP; Tue, 04 Oct 2011 16:56:07 PDT
X-RocketYMMF: william_john_mills
X-Mailer: YahooMailWebService/0.8.115.325013
References: <4E1F6AAD24975D4BA5B16804296739435C21DD2C@TK5EX14MBXC284.redmond.corp.microsoft.com> <255B9BB34FB7D647A506DC292726F6E1129015546C@WSMSG3153V.srv.dir.telstra.com> <1317621663.4810.YahooMailNeo@web31813.mail.mud.yahoo.com> <4E1F6AAD24975D4BA5B16804296739435C226298@TK5EX14MBXC284.redmond.corp.microsoft.com> <1317704315.93442.YahooMailNeo@web31811.mail.mud.yahoo.com> <4E8B2DE1.2090706@mtcc.com> <C2C10679-2611-415B-80B7-8526937C1E82@oracle.com> <1317747487.89926.YahooMailNeo@web31809.mail.mud.yahoo.com> <6B898133-E7D0-45B1-9E3B-3B6DAFCDF671@oracle.com> <CAGdjJpJ+XkyPAJXEJa-3p3tNTxKzMpZXSHmH3H-m-7T9v=4x0Q@mail.gmail.com> <4E1F6AAD24975D4BA5B16804296739435C2276BD@TK5EX14MBXC284.redmond.corp.microsoft.com> <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CAAA@SISPE7MB1.commscope.com>
Message-ID: <1317772567.49150.YahooMailNeo@web31811.mail.mud.yahoo.com>
Date: Tue, 04 Oct 2011 16:56:07 -0700
From: William Mills <wmills@yahoo-inc.com>
To: "Thomson, Martin" <Martin.Thomson@commscope.com>, Mike Jones <Michael.Jones@microsoft.com>, Marius Scurtescu <mscurtescu@google.com>, Phil Hunt <phil.hunt@oracle.com>
In-Reply-To: <27AFD040F6F8AA4193E0614E2E3AF9C910D2F0CAAA@SISPE7MB1.commscope.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-1399109201-1317772567=:49150"
Cc: "oauth@ietf.org WG" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Possible alternative resolution to issue 26
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: William Mills <wmills@yahoo-inc.com>
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: Tue, 04 Oct 2011 23:53:08 -0000

Allowing URI requires allowing % encoding, which is workable.  As far as the protocol goes URI is a form of space separated string and the protocol doesn't care.  URI doesn't include quote or qhitespace in the allowed characters so there's no problem there.

I agree that we'd have to write it such that  it's clear you don't have to use a URI.  Drawing from http://labs.apache.org/webarch/uri/rev-2002/rfc2396bis.html#path perhaps the allowed charset becomes

scope = *( unreserved / reserved / pct-encoded )

with the clarification that a scope MAY take the form of a properly formatted URI.

-bill




________________________________
From: "Thomson, Martin" <Martin.Thomson@commscope.com>
To: Mike Jones <Michael.Jones@microsoft.com>; Marius Scurtescu <mscurtescu@google.com>; Phil Hunt <phil.hunt@oracle.com>
Cc: "oauth@ietf.org WG" <oauth@ietf.org>
Sent: Tuesday, October 4, 2011 4:08 PM
Subject: Re: [OAUTH-WG] Possible alternative resolution to issue 26

On 2011-10-05 at 05:07:06, Mike Jones wrote:
> Existing practice is that simple ASCII strings like "email" "profile", 
> "openid", etc. are used as scope elements.  Requiring them to be URIs 
> would break most existing practice.

Constraining syntax to an ascii token OR a URI (relative reference) might work.  Anything with a colon can be interpreted as a URI; anything without better use a constrained set of characters.
_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth