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

Sergey Beryozkin <sberyozkin@gmail.com> Thu, 31 January 2013 09:57 UTC

Return-Path: <sberyozkin@gmail.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 C525A21F868D for <oauth@ietfa.amsl.com>; Thu, 31 Jan 2013 01:57:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 0GYJwsavHFbA for <oauth@ietfa.amsl.com>; Thu, 31 Jan 2013 01:57:00 -0800 (PST)
Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by ietfa.amsl.com (Postfix) with ESMTP id 09F3A21F868B for <oauth@ietf.org>; Thu, 31 Jan 2013 01:56:59 -0800 (PST)
Received: by mail-ee0-f49.google.com with SMTP id d4so1328574eek.22 for <oauth@ietf.org>; Thu, 31 Jan 2013 01:56:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=7WQMwbvuoOr7lUSdJ0Olw2i2fheS0NSGwH4eNplSESg=; b=OEZj590iLH/+IWborQPRFwdX0vCKkZV+qaxDbQa0X8fA3ooSw7Hrx6MniiGXvFVrsQ syvqIwNBRewp6oiTnlawGIYZ57h2w9XxmURA6LecWrCin054iwGp8+56GQJUsI0gxY+0 Lvor3yDtLds8CparxSVA4shaL9GZskV1adpCXCNlRzQGIMoCG5plJXur/WVh//ovGiWt DHa+wNuMbG4B58wKH2sPNcetQakPttaiSHK4teySDD3FNGwUi7jvRv87ESIxscM0XsJ0 O5R73IBPDZNMm6Q5tV2EBBw2IYc2l153w0rdf+wbblJIsABrHJul65z69U/uiaYffxce F5nA==
X-Received: by 10.14.176.66 with SMTP id a42mr25406105eem.34.1359626219175; Thu, 31 Jan 2013 01:56:59 -0800 (PST)
Received: from [10.36.224.150] ([217.173.99.61]) by mx.google.com with ESMTPS id j46sm3172042eeo.3.2013.01.31.01.56.57 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Jan 2013 01:56:58 -0800 (PST)
Message-ID: <510A3FCA.7070804@gmail.com>
Date: Thu, 31 Jan 2013 09:56:26 +0000
From: Sergey Beryozkin <sberyozkin@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: oauth@ietf.org
References: <OF3031393A.750F4AB2-ON85257B03.007AD84B-85257B03.007B56E7@us.ibm.com> <51099EBD.5050204@mitre.org>
In-Reply-To: <51099EBD.5050204@mitre.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
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: Thu, 31 Jan 2013 09:57:00 -0000

Hi Justin
On 30/01/13 22:29, Justin Richer wrote:
> It's not meant to follow the same syntax. Instead, it's making use of
> the JSON object structure to avoid additional parsing of the values on
> the client side.
>
> We could fairly easily define it as the same space-delimited string if
> enough people want to keep the scope format consistent.
>
IMHO the consistency in representing such a high-visibility parameter as 
'scope' is more important than providing for an option to immediately 
feed it into a JSON parser

thanks, Sergey


> -- Justin
>
> On 01/30/2013 05:27 PM, Todd W Lainhart wrote:
>> That the scope syntax in draft-richer-oauth-introspection-01 is
>> different than RFC 6749 Section 3.3, as in:
>>
>>
>> "scope": ["read", "write", "dolphin"],
>>
>> vs.
>>
>> scope = scope-token *( SP scope-token )
>> scope-token = 1*( %x21 / %x23-5B / %x5D-7E )
>>
>> Should introspection-01 follow the 6749 syntax for scopes?
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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