Re: [OAUTH-WG] Fw: Breaking change in OAuth 2.0 rev. 23

Breno de Medeiros <breno@google.com> Thu, 15 March 2012 16:56 UTC

Return-Path: <breno@google.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 2E68A21F87C1 for <oauth@ietfa.amsl.com>; Thu, 15 Mar 2012 09:56:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.677
X-Spam-Level:
X-Spam-Status: No, score=-102.677 tagged_above=-999 required=5 tests=[AWL=0.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 NMLsQ6VuI8Ag for <oauth@ietfa.amsl.com>; Thu, 15 Mar 2012 09:56:17 -0700 (PDT)
Received: from mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by ietfa.amsl.com (Postfix) with ESMTP id A949221F878A for <oauth@ietf.org>; Thu, 15 Mar 2012 09:56:15 -0700 (PDT)
Received: by eeke51 with SMTP id e51so1918872eek.31 for <oauth@ietf.org>; Thu, 15 Mar 2012 09:56:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-system-of-record; bh=28MZn55QkYCz74ySerPnHhpTrI5+UJXceJrQjitda5I=; b=OjpDVebApjVqC2vpEzyRu5Fe9yLZK0dn2amLlbRBGpzR4h6vt9XgFHYl5e3VE8kGIW NM/JokLbOVYU2x9kHgIcq93z2wc2bfnZ5T9KU9PwuXXJi3z+/r49PmEOGXCwRhQdTOFG HGMqOd0wp8Q/LwxaqFihhFmwHbEQrc/LsZVgSMi+Hq8ihRm/XG5QhkAOuTkF4bK3t6qi y1vmcVdWChNFRT8caRsCA5iu0GvBfkRsIjS/FR+ZK/eJhqmc5KCF/7bt613mO1NW/eGn T8btPgKADaMHXwvaDaym6UdGUE5Uh2rIKhT6IOfRD5FPmU1QXooEMOG3/bcPRiofJRwz Y/AQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-system-of-record:x-gm-message-state; bh=28MZn55QkYCz74ySerPnHhpTrI5+UJXceJrQjitda5I=; b=KqYKuZk2JiUOJ1sy+jDhOI60wzjcEoc77SynK/d89AQ2NLmb0vt+sudErQYTZN+XW4 EFOlnHLo4qOoX3SbGzznGmE9OONyRgq+B3HH21Fp4eAwPIkJvdrqBNgDRYnZ0sBIxz8y BJqowwFZYvWXB9KAFGLAl+t15UvZTIXZgWj1/0ZXmX1l7vNUMicsJNbvTVnI1wR1DE+P MADVuclsO8J/Pv0xNaW189NLH1HVMnHnbYt7xKjw+7Bqc4GhHpL9wkeC42Avjh28kIke Pc5tsFk7GJXIlPRORQbTSq1DFehfqiMjErnrZNqDKYSNQA7TnhceSqLSKzmi7QR/f7Ca p2/w==
Received: by 10.50.155.202 with SMTP id vy10mr2524276igb.29.1331830574412; Thu, 15 Mar 2012 09:56:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.155.202 with SMTP id vy10mr2524262igb.29.1331830574319; Thu, 15 Mar 2012 09:56:14 -0700 (PDT)
Received: by 10.231.41.137 with HTTP; Thu, 15 Mar 2012 09:56:13 -0700 (PDT)
In-Reply-To: <90C41DD21FB7C64BB94121FBBC2E723453AFF089F4@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <CAGdjJpLBCyvg21zuGi1jWK58hkDL4Ff7-xdJ0dy0WZpvNPPrKA@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E723453AFF08903@P3PW5EX1MB01.EX1.SECURESERVER.NET> <CAAJ++qE3KcFgJey7xXzW8dkTPzvtcu_ke7abkOEMS4hwi93yEg@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E723453AFF08919@P3PW5EX1MB01.EX1.SECURESERVER.NET> <CAGdjJpK6dMzSyoxEb_2rQcB-anXzvWaW-PLdYTZW_jECieBSMg@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E723453AFF08932@P3PW5EX1MB01.EX1.SECURESERVER.NET> <4E1F6AAD24975D4BA5B16804296739436641D4E3@TK5EX14MBXC284.redmond.corp.microsoft.com> <90C41DD21FB7C64BB94121FBBC2E723453AFF08949@P3PW5EX1MB01.EX1.SECURESERVER.NET> <CAAJ++qG+jdej64rjWM8V4MU_uxEc-2WoT4MKqhD_9ef0jBYwgg@mail.gmail.com> <CAC4RtVBzDdeJViT_zOJ4QQQoo4Soy0iJJL_EK5zGd+94J1h7RQ@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E723453AFF0896E@P3PW5EX1MB01.EX1.SECURESERVER.NET> <CALaySJ+tTmh1jHzn-6g+CSwLWNoq0KQ1HKXD-KdaORZKJwjv6w@mail.gmail.com> <CALaySJL9EphC=L2Dj++9bCcusnOPouQ4vRmuEdDM-6ggURo-fA@mail.gmail.com> <CABzCy2Bi+YvaJiXwsnNPFHXxGDkFSRiMEzKbVi9YD8zF7D8nxg@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E723453AFF089F4@P3PW5EX1MB01.EX1.SECURESERVER.NET>
Date: Thu, 15 Mar 2012 09:56:13 -0700
Message-ID: <CAAJ++qGy3EtJFiwe5-SXeq12Xm-Zt3pgjgg7ziOrZpDuuNpe3g@mail.gmail.com>
From: Breno de Medeiros <breno@google.com>
To: Eran Hammer <eran@hueniverse.com>
Content-Type: multipart/alternative; boundary="e89a8f23549f488a9b04bb4af8fa"
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQkMwWC68mzSDW6JUzgLDazyBXxlbaykSvjX/g7gv5VdjvP15Mm9VgmwkY3Zv514BnH7Noq2vw2JF3OwF9TVX+qjMg6gDnEK0YpTeotB5cpgOG6UmNq4q1rqbA8JTvyKDaOo4/MT
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Fw: Breaking change in OAuth 2.0 rev. 23
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, 15 Mar 2012 16:56:18 -0000

On Thu, Mar 15, 2012 at 07:45, Eran Hammer <eran@hueniverse.com> wrote:

> This add-on is unnecessary. It already says the authorization server can
> handle it any way it wants. The fact that other registration options are
> possible clearly covers the client identifier reuse case. As for the
> response type, that’s not an issue but more of an optimization for an edge
> case raised.
>

It still feels like a horse by committee to me. "unless the
authorization server
provides other registration options to specify such complex clients." seems
a very round about way to say that the core spec already provides for such
arrangements in the most common scenario. It is a bit of a stretch to say
that the server provides "other registration options" by simply following
strategy already laid out in the spec.

In particular, I feel that this wording will be harmful to register
extended behavior, e.g., alternative response_types by leading to fruitless
conversations about spec compliance in the absence of real security risks.

I do not believe the current text is the best representation of the spirit
in which the spec was written (in particular the effort to specify two
flows in detail to deal with precisely this issue) and possibly lead to
harmful future interpretation.


> ****
>
> ** **
>
> EH****
>
> ** **
>
> *From:* oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] *On Behalf
> Of *Nat Sakimura
> *Sent:* Thursday, March 15, 2012 2:04 AM
> *To:* Breno de Medeiros; OAuth WG
>
> *Subject:* Re: [OAUTH-WG] Fw: Breaking change in OAuth 2.0 rev. 23****
>
> ** **
>
> ** **
>
> So, Eran's first proposal: ****
>
> ** **
>
>   A client application consisting of multiple components, each with its
>   own client type (e.g. a distributed client with both a confidential
>   server-based component and a public browser-based component), MUST
>   register each component separately as a different client to ensure****
>
>   proper handling by the authorization server, unless the authorization
>   server provides other registration options to specify such complex
> clients. ****
>
> ** **
>
> kind of meets my concern. There seems to be another issue around the
> usefulness of return_type in such case raised by Breno, and if I understand
> it correctly, Eran's answer was that these separate components may have the
> same client_id so that return_type is a valid parameter to be sent at the
> request. ****
>
> ** **
>
> So, to clarify these, perhaps changing the above text slightly to the
> following solves the problem? ****
>
> ** **
>
>   A client application consisting of multiple components, each with its
>   own client type (e.g. a distributed client with both a confidential
>   server-based component and a public browser-based component), MUST
>   register each component separately as a different client to ensure****
>
>   proper handling by the authorization server, unless the authorization
>   server provides other registration options to specify such complex
> clients.  ****
>
>   Each component MAY have the same client_id, in which case the server ***
> *
>
>   judges the client type and the associated security context  based on
>   the response_type parameter in the request. ****
>
> ** **
>
> Would it solve your problem, Breno? ****
>
> ** **
>
> Best, ****
>
> ** **
>
> =nat****
>
> ** **
>



-- 
--Breno