Re: [OAUTH-WG] Comments on draft-ietf-oauth-v2-03.txt

Marius Scurtescu <mscurtescu@google.com> Mon, 10 May 2010 20:17 UTC

Return-Path: <mscurtescu@google.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 0F6FB3A6AA0 for <oauth@core3.amsl.com>; Mon, 10 May 2010 13:17:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.833
X-Spam-Level:
X-Spam-Status: No, score=-105.833 tagged_above=-999 required=5 tests=[AWL=0.144, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 SI4m0EZ0qVMc for <oauth@core3.amsl.com>; Mon, 10 May 2010 13:17:13 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 5559B3A6A21 for <oauth@ietf.org>; Mon, 10 May 2010 13:07:46 -0700 (PDT)
Received: from wpaz13.hot.corp.google.com (wpaz13.hot.corp.google.com [172.24.198.77]) by smtp-out.google.com with ESMTP id o4AK7WZU031080 for <oauth@ietf.org>; Mon, 10 May 2010 13:07:32 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1273522052; bh=E/6jRshXo7LtA8A+M4feUocHrvc=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type:Content-Transfer-Encoding; b=TVV9D4jN6wGOhCzaFWGaGZ/WPSEEJRtuga2SCeVMJk/opvBPLc65O0/2BV9R92COf 67Pl8PGqgnbbnnXNBPIRA==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:from:date:message-id: subject:to:cc:content-type:content-transfer-encoding:x-system-of-record; b=BWs9ZajZ+2Ne3wWpesYFMTxAxS2NcMVc/0G2xpJ4K1vbAGBjfElr9kxYZjSalI7PY gvom4uD8v0dhUYLWc4Yuw==
Received: from pvb32 (pvb32.prod.google.com [10.241.209.96]) by wpaz13.hot.corp.google.com with ESMTP id o4AK7UmG023144 for <oauth@ietf.org>; Mon, 10 May 2010 13:07:30 -0700
Received: by pvb32 with SMTP id 32so153457pvb.5 for <oauth@ietf.org>; Mon, 10 May 2010 13:07:30 -0700 (PDT)
Received: by 10.141.107.19 with SMTP id j19mr3031096rvm.90.1273522049114; Mon, 10 May 2010 13:07:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.141.125.21 with HTTP; Mon, 10 May 2010 13:07:09 -0700 (PDT)
In-Reply-To: <4BE730CC.1090607@lodderstedt.net>
References: <4BE730CC.1090607@lodderstedt.net>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Mon, 10 May 2010 13:07:09 -0700
Message-ID: <AANLkTinnS1STjPtuubuS3_H2AGw1kyruDaFMSeSfE5hN@mail.gmail.com>
To: Torsten Lodderstedt <torsten@lodderstedt.net>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
Cc: "OAuth WG (oauth@ietf.org)" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Comments on draft-ietf-oauth-v2-03.txt
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, 10 May 2010 20:17:14 -0000

On Sun, May 9, 2010 at 3:01 PM, Torsten Lodderstedt
<torsten@lodderstedt.net> wrote:
> 3.5.1.1.  End-user Grants Authorization
>
> I would suggest to use JSON encoding here, since the URI fragment is handled
> by a client more or less like a response result.

Evan mentioned that returning JSON in this case is a bad idea because
it is very hard to safely parse JSON in JavaScript.

Marius