Re: [OAUTH-WG] defining new response types
Eran Hammer-Lahav <eran@hueniverse.com> Tue, 12 July 2011 01:49 UTC
Return-Path: <eran@hueniverse.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 EA49D11E83FE for <oauth@ietfa.amsl.com>; Mon, 11 Jul 2011 18:49:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.331
X-Spam-Level:
X-Spam-Status: No, score=-2.331 tagged_above=-999 required=5 tests=[AWL=-0.332, BAYES_00=-2.599, J_CHICKENPOX_45=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 J-pNvq+p6tZ7 for <oauth@ietfa.amsl.com>; Mon, 11 Jul 2011 18:49:37 -0700 (PDT)
Received: from p3plex1out02.prod.phx3.secureserver.net (p3plex1out02.prod.phx3.secureserver.net [72.167.180.18]) by ietfa.amsl.com (Postfix) with SMTP id 7C0DF11E83CC for <oauth@ietf.org>; Mon, 11 Jul 2011 18:49:37 -0700 (PDT)
Received: (qmail 2835 invoked from network); 12 Jul 2011 01:49:36 -0000
Received: from unknown (HELO smtp.ex1.secureserver.net) (72.167.180.20) by p3plex1out02.prod.phx3.secureserver.net with SMTP; 12 Jul 2011 01:49:36 -0000
Received: from P3PW5EX1MB01.EX1.SECURESERVER.NET ([10.6.135.19]) by P3PW5EX1HT002.EX1.SECURESERVER.NET ([72.167.180.20]) with mapi; Mon, 11 Jul 2011 18:49:36 -0700
From: Eran Hammer-Lahav <eran@hueniverse.com>
To: Marius Scurtescu <mscurtescu@google.com>
Date: Mon, 11 Jul 2011 18:49:28 -0700
Thread-Topic: [OAUTH-WG] defining new response types
Thread-Index: AcxANfRFZX7kgPXbRbqhWDZJAZbzwg==
Message-ID: <93908A51-0DB8-45E1-9A9A-75AEBA6376F9@hueniverse.com>
References: <CAGdjJpKq=90QhSt68sYbtW9TtW+OR5nxYxTSC1A1jYRA=369tg@mail.gmail.com>
In-Reply-To: <CAGdjJpKq=90QhSt68sYbtW9TtW+OR5nxYxTSC1A1jYRA=369tg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Breno de Medeiros <breno@google.com>, OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] 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: Tue, 12 Jul 2011 01:49:38 -0000
You are over complicating it. You can define anything you want. But if you want to use the special + character, each of the parts must be defined and registered. If parts of a combination don't make sense on their own use something else to join them like underscore. EHL On Jul 11, 2011, at 18:07, "Marius Scurtescu" <mscurtescu@google.com> wrote: > If I read section 8.4 correctly it seems that new response types can > be defined but composite values must be registered explicitly. > > I don't think this approach scales too well. OpenID Connect for > example is adding a new response type: id_token. > > id_token can be combined with either code or token and potentially > with both of them, the following combinations must be registered as a > result: > code+id_token > token+id_token > code+token+id_token > > and this assumes that code+token is already registered. > > I think it makes more sense to define response_type as a space > separated list of items, where each item can be individually > registered. I do realize that this complicates things quite a bit (not > we have to define and deal with both composite response_type and the > individual items). > > As a side note, using + as separator could cause lots of problems. If > people naively type "code+toke" it will be decoded as "code token". No > one will remember the hex code for +. > > Marius > _______________________________________________ > OAuth mailing list > OAuth@ietf.org > https://www.ietf.org/mailman/listinfo/oauth
- [OAUTH-WG] defining new response types Marius Scurtescu
- Re: [OAUTH-WG] defining new response types Eran Hammer-Lahav
- Re: [OAUTH-WG] defining new response types Eran Hammer-Lahav
- Re: [OAUTH-WG] defining new response types Breno de Medeiros
- Re: [OAUTH-WG] defining new response types Eran Hammer-Lahav
- Re: [OAUTH-WG] defining new response types Breno de Medeiros
- Re: [OAUTH-WG] defining new response types Eran Hammer-Lahav
- Re: [OAUTH-WG] defining new response types Breno de Medeiros
- Re: [OAUTH-WG] defining new response types Mike Jones
- Re: [OAUTH-WG] defining new response types Eran Hammer-Lahav
- Re: [OAUTH-WG] defining new response types John Bradley
- Re: [OAUTH-WG] defining new response types Marius Scurtescu
- Re: [OAUTH-WG] defining new response types Paul Tarjan
- Re: [OAUTH-WG] defining new response types Breno
- Re: [OAUTH-WG] defining new response types Breno
- Re: [OAUTH-WG] defining new response types Eran Hammer-Lahav
- Re: [OAUTH-WG] defining new response types Breno