Re: [OAUTH-WG] Native Client Extension

Eran Hammer-Lahav <eran@hueniverse.com> Thu, 27 January 2011 19:59 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 4C2063A6A36 for <oauth@core3.amsl.com>; Thu, 27 Jan 2011 11:59:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.561
X-Spam-Level:
X-Spam-Status: No, score=-3.561 tagged_above=-999 required=5 tests=[AWL=1.038, BAYES_00=-2.599, GB_I_LETTER=-2]
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 dvrjPNtnXIq9 for <oauth@core3.amsl.com>; Thu, 27 Jan 2011 11:59:29 -0800 (PST)
Received: from p3plex1out02.prod.phx3.secureserver.net (p3plex1out02.prod.phx3.secureserver.net [72.167.180.18]) by core3.amsl.com (Postfix) with SMTP id 3CA353A6980 for <oauth@ietf.org>; Thu, 27 Jan 2011 11:59:27 -0800 (PST)
Received: (qmail 27172 invoked from network); 27 Jan 2011 20:02:31 -0000
Received: from unknown (HELO smtp.ex1.secureserver.net) (72.167.180.19) by p3plex1out02.prod.phx3.secureserver.net with SMTP; 27 Jan 2011 20:02:31 -0000
Received: from P3PW5EX1MB01.EX1.SECURESERVER.NET ([10.6.135.19]) by P3PW5EX1HT001.EX1.SECURESERVER.NET ([72.167.180.19]) with mapi; Thu, 27 Jan 2011 13:02:27 -0700
From: Eran Hammer-Lahav <eran@hueniverse.com>
To: "Richer, Justin P." <jricher@mitre.org>, Skylar Woodward <skylar@kiva.org>, Marius Scurtescu <mscurtescu@google.com>
Date: Thu, 27 Jan 2011 13:02:07 -0700
Thread-Topic: [OAUTH-WG] Native Client Extension
Thread-Index: Acu+EWaVnDOBczSKTMSP/6qN/u5OfQASJH7+AACn/JA=
Message-ID: <90C41DD21FB7C64BB94121FBBC2E723445A8FB2729@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <AANLkTi=YWLHV1Yi0bdKTaDaBw3X5D6Y_kk3xt7EvJHe_@mail.gmail.com> <4D239DCF.4030501@lodderstedt.net> <AANLkTi=RAS5X0jUjxFzf6k1_r+79NFSFjmZs2bw2Lg3o@mail.gmail.com>, <3C83928E-56D5-4386-A075-9ECF1F3A469C@kiva.org> <D24C564ACEAD16459EF2526E1D7D605D0FFC3C713D@IMCMBX3.MITRE.ORG>
In-Reply-To: <D24C564ACEAD16459EF2526E1D7D605D0FFC3C713D@IMCMBX3.MITRE.ORG>
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] Native Client Extension
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: Thu, 27 Jan 2011 19:59:32 -0000

I think it should still use the existing 'token' and 'code' values, but with a special redirect_uri value (preferably something like a urn: to make it clear). This way, there is no need to add a new mechanism for extending parameter *values* (though such an extension *can* update the registration of the 'response_type' parameter), no need for special rules about the redirect_uri parameters, and the urn: can be used to indicate the style of the delivery (title, custom scheme, etc.). It also allows using both redirection-based flows.

EHL

> -----Original Message-----
> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
> Of Richer, Justin P.
> Sent: Thursday, January 27, 2011 11:40 AM
> To: Skylar Woodward; Marius Scurtescu
> Cc: OAuth WG
> Subject: Re: [OAUTH-WG] Native Client Extension
> 
> +1 on out of band auth being moved to a more fully-specified extension. It
> can (and likely should) still use mechanisms such as auth codes, but with
> different requirements such as no return URL. This is where things like the
> <title>code</title> hack can live, as well.
> 
>  -- Justin
> ________________________________________
> From: oauth-bounces@ietf.org [oauth-bounces@ietf.org] On Behalf Of
> Skylar Woodward [skylar@kiva.org]
> Sent: Thursday, January 27, 2011 6:00 AM
> To: Marius Scurtescu
> Cc: OAuth WG
> Subject: Re: [OAUTH-WG] Native Client Extension
> 
> Marius,
> 
> I support the extension (as per my previous letter, as I missed this thread
> over the holidays) and Kiva is/was planning to support this as well.  Given the
> unpredictable technology environments of many of our customers, this flow
> is essential for our implementation.
> 
> However, now reviewing language in draft-12, I wonder if it isn't more clear
> to define the extension as using a different response_type (eg, oob_code).
> In the past, the use of "oob" has been more of hack to work with existing
> specs. In truth, it is a unique flow of its own compared to Implict and Auth
> Code as they are currently defined.  Such a flow would not accept a
> redirect_url and could use "oob_code" for both response_type and
> grant_type.
> 
> skylar
> 
> 
> On Jan 4, 2011, at 11:58 PM, Marius Scurtescu wrote:
> 
> > On Tue, Jan 4, 2011 at 2:23 PM, Torsten Lodderstedt
> > <torsten@lodderstedt.net> wrote:
> >> +1
> >>
> >> I have asked myself all the time why "oob" disappeared in OAuth 2.0?
> >> Does Google use this feature?
> >
> > Yes, we are planning to support this, exactly as described in the extension.
> >
> > Marius
> > _______________________________________________
> > 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
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth