Re: [OAUTH-WG] draft-richer-oauth-introspection-01 scope syntax

Mike Jones <Michael.Jones@microsoft.com> Wed, 30 January 2013 22:51 UTC

Return-Path: <Michael.Jones@microsoft.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 3B88021F87D4 for <oauth@ietfa.amsl.com>; Wed, 30 Jan 2013 14:51:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id euzMIfO3C11R for <oauth@ietfa.amsl.com>; Wed, 30 Jan 2013 14:51:27 -0800 (PST)
Received: from na01-by2-obe.outbound.protection.outlook.com (na01-by2-obe.ptr.protection.outlook.com [207.46.100.27]) by ietfa.amsl.com (Postfix) with ESMTP id B179021F87CD for <oauth@ietf.org>; Wed, 30 Jan 2013 14:51:25 -0800 (PST)
Received: from BL2FFO11FD016.protection.gbl (10.173.161.203) by BL2FFO11HUB015.protection.gbl (10.173.160.107) with Microsoft SMTP Server (TLS) id 15.0.596.13; Wed, 30 Jan 2013 22:51:22 +0000
Received: from TK5EX14HUBC104.redmond.corp.microsoft.com (131.107.125.37) by BL2FFO11FD016.mail.protection.outlook.com (10.173.160.224) with Microsoft SMTP Server (TLS) id 15.0.596.13 via Frontend Transport; Wed, 30 Jan 2013 22:51:22 +0000
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.132]) by TK5EX14HUBC104.redmond.corp.microsoft.com ([157.54.80.25]) with mapi id 14.02.0318.003; Wed, 30 Jan 2013 22:50:56 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "craigmcc@gmail.com" <craigmcc@gmail.com>, Justin Richer <jricher@mitre.org>
Thread-Topic: [OAUTH-WG] draft-richer-oauth-introspection-01 scope syntax
Thread-Index: AQHN/zkLX95KBUoPG0yqjs/GXlBtLZhidAiAgAAFNACAAAC5MA==
Date: Wed, 30 Jan 2013 22:50:56 +0000
Message-ID: <4E1F6AAD24975D4BA5B1680429673943673ED205@TK5EX14MBXC284.redmond.corp.microsoft.com>
References: <OF3031393A.750F4AB2-ON85257B03.007AD84B-85257B03.007B56E7@us.ibm.com> <51099EBD.5050204@mitre.org> <CANgkmLCR+mNFPHBQZfKsDDdUwcArJcSSOpYewqKNhGbhJEZByQ@mail.gmail.com>
In-Reply-To: <CANgkmLCR+mNFPHBQZfKsDDdUwcArJcSSOpYewqKNhGbhJEZByQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.76]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B1680429673943673ED205TK5EX14MBXC284r_"
MIME-Version: 1.0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(377454001)(24454001)(199002)(189002)(15202345001)(77982001)(59766001)(74502001)(5343635001)(16406001)(51856001)(63696002)(4396001)(50986001)(54356001)(47976001)(53806001)(56816002)(512954001)(54316002)(55846006)(46102001)(44976002)(79102001)(20776003)(47446002)(16236675001)(47736001)(33656001)(74662001)(49866001)(550184003)(5343655001)(56776001)(76482001)(31966008); DIR:OUT; SFP:; SCL:1; SRVR:BL2FFO11HUB015; H:TK5EX14HUBC104.redmond.corp.microsoft.com; RD:; A:1; MX:1; LANG:en;
X-OriginatorOrg: microsoft.onmicrosoft.com
X-Forefront-PRVS: 0742443479
Cc: IETF oauth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] draft-richer-oauth-introspection-01 scope syntax
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: Wed, 30 Jan 2013 22:51:28 -0000

Having two ways to do something almost always hurts interop and always makes implementations bigger

From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf Of Craig McClanahan
Sent: Wednesday, January 30, 2013 2:48 PM
To: Justin Richer
Cc: IETF oauth WG
Subject: Re: [OAUTH-WG] draft-richer-oauth-introspection-01 scope syntax

On Wed, Jan 30, 2013 at 2:29 PM, Justin Richer <jricher@mitre.org<mailto:jricher@mitre.org>> wrote:
We could fairly easily define it as the same space-delimited string if enough people want to keep the scope format consistent.

Can't we have our cake and eat it too, and accept either syntax?  JSON makes it pretty easy to introspect what's there and deal with either version appropriately.

I am one of those that finds the array version of things like this more convenient, but for the folks who are used to dealing with the space-delimited string version of scopes, we could easily support that too.

 -- Justin

Craig McClanahan