Re: [OAUTH-WG] Proposal for single JSON response format
David Recordon <recordond@gmail.com> Thu, 10 June 2010 20:48 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 8A5163A68CD for <oauth@core3.amsl.com>; Thu, 10 Jun 2010 13:48:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.717
X-Spam-Level:
X-Spam-Status: No, score=-1.717 tagged_above=-999 required=5 tests=[AWL=0.882, 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 LnokhwdoC-kV for <oauth@core3.amsl.com>; Thu, 10 Jun 2010 13:48:27 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id 8B6FB3A659A for <oauth@ietf.org>; Thu, 10 Jun 2010 13:48:27 -0700 (PDT)
Received: by iwn42 with SMTP id 42so334892iwn.31 for <oauth@ietf.org>; Thu, 10 Jun 2010 13:48:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zFQv1+N1k85eTbWAjiihvo5tYm65dNq7gir62WknXkg=; b=jxAwC9im//MJD5TJv0TuF0bLO6nEZcy+9sv+zMU5IGDMh+z8UbUodSisUVyj28bHB8 ZmH/WoqJRlZDLSLokJziQtASXGQ9iltZlj/agvdxOkgz0v6JRwsHc65lLsdPmzf0wGZE OkZmx0oiLT1r4srew3N3exVcehrKbsnZVtRFQ=
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:content-transfer-encoding; b=XN+4ihWzX/+xINdhgxhBSc3r1AQFigKr3i49R9JLcgPtQEEnk4h8B+s5uSvnxauY06 h0aHSLXEpvSZB5bm+LS+wPILIQ1CJWUaBFjPieW+IofCW+FtCMPbhf8vezZtPStk6UQ3 jQabejmpb9LXdPrZmjhsvP8Cmzn+ux/6IqmWk=
MIME-Version: 1.0
Received: by 10.231.168.129 with SMTP id u1mr704354iby.49.1276202906487; Thu, 10 Jun 2010 13:48:26 -0700 (PDT)
Received: by 10.231.192.4 with HTTP; Thu, 10 Jun 2010 13:48:26 -0700 (PDT)
In-Reply-To: <90C41DD21FB7C64BB94121FBBC2E72343B3EAF73EF@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <90C41DD21FB7C64BB94121FBBC2E72343B3EAF73EF@P3PW5EX1MB01.EX1.SECURESERVER.NET>
Date: Thu, 10 Jun 2010 13:48:26 -0700
Message-ID: <AANLkTinmme06vMRYKr1Chm1JvhgeuKgoQ7hh_YYhPoqR@mail.gmail.com>
From: David Recordon <recordond@gmail.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: "OAuth WG (oauth@ietf.org)" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Proposal for single JSON response format
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, 10 Jun 2010 20:48:29 -0000
+1
On Thu, Jun 10, 2010 at 1:29 PM, Eran Hammer-Lahav <eran@hueniverse.com> wrote:
> After taking a break from our previous debate(s) on the issue of which response format to support, I would like to suggest the following:
>
> - Support a single response format (including in the user-agent fragment) using JSON.
>
> My reason for this is very simple, while right now we have a very limited need (key/value pairs), we already have a few proposals which require a richer syntax. As OAuth matures, I expect more and more extensions to make use of the server response to include additional parameters (flat or structured). By using JSON, we can very easily support "namespaces" (i.e. { "access_token":"xyz","ext":{...} }), multiple token in a single response, etc.
>
> I appreciate the simplicity in using form-encoded (both code and library dependency wise), but long term, it will create a real limitation and will require extensions to also specify a different response format.
>
> Those worried about the need to include a JSON library in cases where it will be hard to do (embedded devices, etc.), can always extend the protocol to provide a way to receive key/value form-encoded pairs. However, they will need to figure out how to accommodate structured responses if they wish support it. I am certain that the vast majority of implementations will have no problem including a JSON library.
>
> Please respond only with yes or no (+/- 1). If you have a different proposal, please post it in a new thread. If you are going to vote against this, please indicate if your objection is blocking (i.e. you are opposed to it and will block a consensus call with this approach).
>
> EHL
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
- [OAUTH-WG] Proposal for single JSON response form… Eran Hammer-Lahav
- Re: [OAUTH-WG] Proposal for single JSON response … Justin Hart
- Re: [OAUTH-WG] Proposal for single JSON response … Eran Hammer-Lahav
- Re: [OAUTH-WG] Proposal for single JSON response … Brian Eaton
- Re: [OAUTH-WG] Proposal for single JSON response … Dick Hardt
- Re: [OAUTH-WG] Proposal for single JSON response … Dick Hardt
- Re: [OAUTH-WG] Proposal for single JSON response … Michael D Adams
- Re: [OAUTH-WG] Proposal for single JSON response … David Recordon
- Re: [OAUTH-WG] Proposal for single JSON response … Justin Richer
- Re: [OAUTH-WG] Proposal for single JSON response … Torsten Lodderstedt
- Re: [OAUTH-WG] Proposal for single JSON response … Chuck Mortimore
- Re: [OAUTH-WG] Proposal for single JSON response … Brian Eaton
- Re: [OAUTH-WG] Proposal for single JSON response … Nat
- Re: [OAUTH-WG] Proposal for single JSON response … Manger, James H
- Re: [OAUTH-WG] Proposal for single JSON response … Luke Shepard
- Re: [OAUTH-WG] Proposal for single JSON response … Naitik Shah
- Re: [OAUTH-WG] Proposal for single JSON response … Robert Sayre
- Re: [OAUTH-WG] Proposal for single JSON response … Evan Gilbert
- Re: [OAUTH-WG] Proposal for single JSON response … Eran Hammer-Lahav
- Re: [OAUTH-WG] Proposal for single JSON response … Evan Gilbert
- Re: [OAUTH-WG] Proposal for single JSON response … Dick Hardt
- Re: [OAUTH-WG] Proposal for single JSON response … Evan Gilbert
- Re: [OAUTH-WG] Proposal for single JSON response … Dick Hardt
- Re: [OAUTH-WG] Proposal for single JSON response … Eran Hammer-Lahav
- Re: [OAUTH-WG] Proposal for single JSON response … Evan Gilbert
- Re: [OAUTH-WG] Proposal for single JSON response … Dirk Balfanz