Re: [OAUTH-WG] Change grant_type="none" to something less confusing

Eran Hammer-Lahav <eran@hueniverse.com> Fri, 16 July 2010 21:25 UTC

Return-Path: <eran@hueniverse.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 353F73A6B2F for <oauth@core3.amsl.com>; Fri, 16 Jul 2010 14:25:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.476
X-Spam-Level:
X-Spam-Status: No, score=-2.476 tagged_above=-999 required=5 tests=[AWL=0.123, 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 a93DQJ8YaW-c for <oauth@core3.amsl.com>; Fri, 16 Jul 2010 14:25:42 -0700 (PDT)
Received: from p3plex1out01.prod.phx3.secureserver.net (p3plex1out01.prod.phx3.secureserver.net [72.167.180.17]) by core3.amsl.com (Postfix) with SMTP id 0A2913A6407 for <oauth@ietf.org>; Fri, 16 Jul 2010 14:25:42 -0700 (PDT)
Received: (qmail 28426 invoked from network); 16 Jul 2010 21:25:54 -0000
Received: from unknown (HELO smtp.ex1.secureserver.net) (72.167.180.19) by p3plex1out01.prod.phx3.secureserver.net with SMTP; 16 Jul 2010 21:25:54 -0000
Received: from P3PW5EX1MB01.EX1.SECURESERVER.NET ([10.6.135.20]) by P3PW5EX1HT001.EX1.SECURESERVER.NET ([72.167.180.19]) with mapi; Fri, 16 Jul 2010 14:25:53 -0700
From: Eran Hammer-Lahav <eran@hueniverse.com>
To: Marius Scurtescu <mscurtescu@google.com>
Date: Fri, 16 Jul 2010 14:25:39 -0700
Thread-Topic: [OAUTH-WG] Change grant_type="none" to something less confusing
Thread-Index: AcslLXhVGIrlsgsFTb+NPFYP9bj2mQ==
Message-ID: <5F922BD8-22C9-4E87-9D5B-BAC0529F94C7@hueniverse.com>
References: <1279297826.11628.61.camel@localhost.localdomain> <AANLkTinRE0My8GRTVrBM9cwyCWgrpeYQzul3YBp_Z-8A@mail.gmail.com>
In-Reply-To: <AANLkTinRE0My8GRTVrBM9cwyCWgrpeYQzul3YBp_Z-8A@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: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Change grant_type="none" to something less confusing
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: Fri, 16 Jul 2010 21:25:43 -0000

External, out-of-band, implicit.

It cannot be client because that is not always the case. 

EHL



On Jul 16, 2010, at 12:40, Marius Scurtescu <mscurtescu@google.com> wrote:

> I agree that grant_type=none is confusing. "client" or "direct" sound better.
> 
> Marius
> 
> 
> 
> On Fri, Jul 16, 2010 at 9:30 AM, Justin Richer <jricher@mitre.org> wrote:
>> The choice of the value "none" for the grant_type parameter in the
>> client-credentials case is confusing. I understand the philosophy behind
>> this choice, but I think that calling it "none" here gives the wrong
>> impression. It almost sounds like it's a deny-request on first glance,
>> or even a revoke request of some type. Furthermore, I'd say that there
>> really is an access grant being made here, but it's implicit, and given
>> to the client directly and not to an end user.
>> 
>> I propose we change this key to "client", "implicit", "direct", or
>> something other than "none" to avoid this kind of confusion. Along with
>> this, I would also like the paragraph in 4.1 describing the usage of
>> this grant type to be pulled into its own (admittedly short) subsection.
>> In this way, someone looking to implement this style of auth will have
>> somewhere concrete to look, bringing this method on par with others in
>> section 4.1.
>> 
>>  -- Justin
>> 
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>> 
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth