Re: [OAUTH-WG] Issue 18: defining new response types

Torsten Lodderstedt <torsten@lodderstedt.net> Wed, 20 July 2011 20:24 UTC

Return-Path: <torsten@lodderstedt.net>
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 E236021F8A71 for <oauth@ietfa.amsl.com>; Wed, 20 Jul 2011 13:24:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.973
X-Spam-Level:
X-Spam-Status: No, score=-0.973 tagged_above=-999 required=5 tests=[AWL=-1.125, BAYES_00=-2.599, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001, J_CHICKENPOX_45=0.6, J_CHICKENPOX_48=0.6, J_CHICKENPOX_54=0.6, J_CHICKENPOX_57=0.6]
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 6JQqu7YIuXNX for <oauth@ietfa.amsl.com>; Wed, 20 Jul 2011 13:24:50 -0700 (PDT)
Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.29.28]) by ietfa.amsl.com (Postfix) with ESMTP id DC3C721F8922 for <oauth@ietf.org>; Wed, 20 Jul 2011 13:24:49 -0700 (PDT)
Received: from [79.253.8.100] (helo=[192.168.71.35]) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from <torsten@lodderstedt.net>) id 1QjdK3-0004JN-In; Wed, 20 Jul 2011 22:24:47 +0200
Message-ID: <4E273990.20001@lodderstedt.net>
Date: Wed, 20 Jul 2011 22:24:48 +0200
From: Torsten Lodderstedt <torsten@lodderstedt.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
MIME-Version: 1.0
To: Eran Hammer-Lahav <eran@hueniverse.com>
References: <4E1F6AAD24975D4BA5B168042967394348D4BAD0@TK5EX14MBXC201.redmond.corp.microsoft.com> <90C41DD21FB7C64BB94121FBBC2E7234501D6E0238@P3PW5EX1MB01.EX1.SECURESERVER.NET> <4E1F6AAD24975D4BA5B168042967394348D4BCC4@TK5EX14MBXC201.redmond.corp.microsoft.com> <90C41DD21FB7C64BB94121FBBC2E7234501D6E024B@P3PW5EX1MB01.EX1.SECURESERVER.NET>
In-Reply-To: <90C41DD21FB7C64BB94121FBBC2E7234501D6E024B@P3PW5EX1MB01.EX1.SECURESERVER.NET>
Content-Type: multipart/alternative; boundary="------------080804010706020801090508"
X-Df-Sender: torsten@lodderstedt-online.de
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Issue 18: defining new response types
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, 20 Jul 2011 20:24:52 -0000

So far response type values are just strings one need to compare 
literally. What use case justifies the more complex proposal?

regards,
Torsten.

Am 15.07.2011 19:44, schrieb Eran Hammer-Lahav:
>
> I was only arguing against the proposed text which doesn't accomplish 
> what you want from a normative perspective. I can easily address the 
> use case with very short prose but I would like to see more working 
> group discussion about it first.
>
> Seems like WG members representing three large OAuth implementations 
> (Facebook, Google, Microsoft) are very supportive. Does anyone objects 
> to making the change to allow space-delimited values in the 
> response_type parameter? Once we get consensus on that, I can proceed 
> to offer a proposal. The main difficulty is how to deal with errors.
>
> EHL
>
> *From:*Mike Jones [mailto:Michael.Jones@microsoft.com]
> *Sent:* Friday, July 15, 2011 10:16 AM
> *To:* Eran Hammer-Lahav; oauth@ietf.org
> *Subject:* RE: Issue 18: defining new response types
>
> Yes, that's the intent of the change
>
> *From:*Eran Hammer-Lahav [mailto:eran@hueniverse.com] 
> <mailto:[mailto:eran@hueniverse.com]>
> *Sent:* Friday, July 15, 2011 10:14 AM
> *To:* Mike Jones; oauth@ietf.org <mailto:oauth@ietf.org>
> *Subject:* RE: Issue 18: defining new response types
>
> You can't have it both way. Either it is a simple string comparison or 
> it requires parsing of the string. The current prose is designed to 
> offer a visual cue without making any code changes to how response 
> types are compared. To allow different orders, we have to turn the 
> value to a parsed list.
>
> EHL
>
> *From:*oauth-bounces@ietf.org <mailto:oauth-bounces@ietf.org> 
> [mailto:oauth-bounces@ietf.org] 
> <mailto:[mailto:oauth-bounces@ietf.org]> *On Behalf Of *Mike Jones
> *Sent:* Friday, July 15, 2011 10:02 AM
> *To:* oauth@ietf.org <mailto:oauth@ietf.org>
> *Subject:* [OAUTH-WG] Issue 18: defining new response types
>
> I agree that this functionality is needed.  However, I believe its 
> current embodiment is overly restrictive.  I would suggest changing 
> this text:
>
> Only one response type of each combination may be registered and used 
> for making requests. Composite response types are treated and compared 
> in the same as manner as non-composite response types. The "+" 
> notation is meant only to improve human readability and is not used 
> for machine parsing.
>
> For example, an extension can define and register the 
> token+coderesponse type. However, once registered, the same 
> combination cannot be registered as code+token, or used to make an 
> authorization request.
>
> to this:
>
> The order of the composite response type values is not significant.  
> For instance, the composite response types token+codeand code+tokenare 
> equivalent.  Each composite response type value MUST occur only once.
>
>                                                                 Thanks,
>
>                                                                 -- Mike
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth