Re: [OAUTH-WG] User-agent flow and pre-registered redirect_uri
Eran Hammer-Lahav <eran@hueniverse.com> Fri, 11 June 2010 17: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 461F53A6A13 for <oauth@core3.amsl.com>; Fri, 11 Jun 2010 10:25:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Level:
X-Spam-Status: No, score=-1.95 tagged_above=-999 required=5 tests=[AWL=0.649, 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 i2flHemwai7C for <oauth@core3.amsl.com>; Fri, 11 Jun 2010 10:25:00 -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 0390B3A68FC for <oauth@ietf.org>; Fri, 11 Jun 2010 10:24:59 -0700 (PDT)
Received: (qmail 3387 invoked from network); 11 Jun 2010 17:25:02 -0000
Received: from unknown (HELO smtp.ex1.secureserver.net) (72.167.180.19) by p3plex1out01.prod.phx3.secureserver.net with SMTP; 11 Jun 2010 17:25:02 -0000
Received: from P3PW5EX1MB01.EX1.SECURESERVER.NET ([10.6.135.20]) by P3PW5EX1HT001.EX1.SECURESERVER.NET ([72.167.180.19]) with mapi; Fri, 11 Jun 2010 10:25:02 -0700
From: Eran Hammer-Lahav <eran@hueniverse.com>
To: George Fletcher <gffletch@aol.com>, "oauth@ietf.org" <oauth@ietf.org>
Date: Fri, 11 Jun 2010 10:25:00 -0700
Thread-Topic: [OAUTH-WG] User-agent flow and pre-registered redirect_uri
Thread-Index: AcsJgr97UWuNXhieTr+Gbc6/HgvQswACDKVA
Message-ID: <90C41DD21FB7C64BB94121FBBC2E72343B3EAF7604@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <AANLkTingSGlJNZ5e_stPd1qU5I4gfbh3rQhqYUmqXvdB@mail.gmail.com> <C833CEB4.6B81%cmortimore@salesforce.com> <AANLkTinVQEPBVzmiHEGgHhzaILL0nRSvZpjIlrVEJwTw@mail.gmail.com> <AANLkTil1j7vl8PU2tgCzlWY0U6KiWPmRKiVOxvsctB00@mail.gmail.com> <AANLkTimCL-O7RIsUlt_zGDfkEEYb9w4_sPh6zxCMBsf0@mail.gmail.com> <AANLkTin7B9pPgSu3cNlJGkp_gCed-5aPGRZalzXd2Wg8@mail.gmail.com> <4C124A70.2000002@aol.com> <1276268753.31840.50.camel@localhost.localdomain> <4C1257B5.9080706@comlounge.net> <AANLkTilcpAw7hZuQK43_ybS-wy3bQnPqMfRXOdqY4iYa@mail.gmail.com> <AANLkTimGnTj1HseMsPBaRXjBThM3uktqq0R6P30jsjaZ@mail.gmail.com> <AANLkTimyvpXmlOXRKSA4Oe0s3rqoiLQgtgvbRlvniEJ6@mail.gmail.com> <4C126367.40403@aol.com>
In-Reply-To: <4C126367.40403@aol.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
Subject: Re: [OAUTH-WG] User-agent flow and pre-registered redirect_uri
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, 11 Jun 2010 17:25:01 -0000
Client doesn't need to *be* a web server, just *have* a web server available. EHL > -----Original Message----- > From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf > Of George Fletcher > Sent: Friday, June 11, 2010 9:25 AM > To: oauth@ietf.org > Subject: Re: [OAUTH-WG] User-agent flow and pre-registered redirect_uri > > On 6/11/10 12:07 PM, Marius Scurtescu wrote: > > On Fri, Jun 11, 2010 at 8:59 AM, David Recordon<recordond@gmail.com> > wrote: > > > >> That sounds like a security consideration to me! :) > >> > >> I imagine that authorization servers will verify ownership in > >> different manners depending on their tolerance of risk. > >> > > Instead of POSTing a JSON with all the details, dynamic binding could > > send only a host name. The authz server would then do discovery on > > this host and get a pointer to this JSON from host-meta. > > > > Marius > > > > > I think most all of this could be described in the host-meta XRD directly to > save yet another round trip. And I believe there are some security > advantages to using this approach, but it does require the "client" to be a > web-server. This might not always be the case (rich desktop app). For > native/desktop apps, it seems that posting some set of parameters > (equivalent security-wise to a browser user-agent) makes sense and keeps > the protocol simple. > > Thanks, > George > >> > >> On Fri, Jun 11, 2010 at 8:54 AM, Marius > Scurtescu<mscurtescu@google.com> wrote: > >> > >>> On Fri, Jun 11, 2010 at 8:35 AM, Christian Scholz<cs@comlounge.net> > wrote: > >>> > >>>> Hi! > >>>> > >>>> Am 11.06.10 17:05, schrieb Justin Richer: > >>>> > >>>>> Along these lines, I'd like to propose an extension for per-client > >>>>> instance information to be passed from a client to the server. > >>>>> Things like a human-readable client name/description, instance > >>>>> name/description (could be tied to host name, ip, label like > >>>>> "home" or "Work"), and even something like a display icon. This is > >>>>> especially useful for things like device clients (where I might > >>>>> have a bunch of devices with the same client ID) or unregistered > >>>>> clients, where the client id string ends up being closer to a > >>>>> user-agent string from a browser than a trusted identifier, especially > since it can't have a reliable secret. > >>>>> > >>>> We have the need for dynamic binding of clients in the User Managed > >>>> Access group (UMA) as well. I did look into OpenID Connect but felt > >>>> that reusing an OAuth flow based on a different type is maybe > >>>> mixing things a bit too much. To me using a flow means that in the > >>>> end usually you end up with an access token which here is not the > >>>> case. Especially I don't like the reuse of the token URI as IMHO > >>>> it's better to use separate endpoints for different APIs. > >>>> > >>>> I thus went along and crafted some simple handshake in the UMA > >>>> specification which I also wanted to move out into a single > >>>> specification over the next days. > >>>> > >>>> You can find it here: > >>>> > >>>> http://kantarainitiative.org/confluence/display/~christianscholz/St > >>>> ep+1+experimental+version+v1 > >>>> > >>>> under "Dynamic binding of OAuth clients". > >>>> > >>>> It is a simple handshake where you provide a JSON formatted client > >>>> descriptor containing the information you describe above and the > >>>> results is a set of client credentials plus optionally additional > >>>> information (in UMA we eventually need to pass back more > >>>> information like additional endpoints). > >>>> > >>> In general during registration an authz server will verify that the > >>> client really owns the domain it claims it does. Does any validation > >>> like that happen in the suggested "Dynamic binding of OAuth clients"? > >>> > >>> 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
- [OAUTH-WG] User-agent flow and pre-registered red… Andrew Arnott
- Re: [OAUTH-WG] User-agent flow and pre-registered… Andrew Arnott
- Re: [OAUTH-WG] User-agent flow and pre-registered… Marius Scurtescu
- Re: [OAUTH-WG] User-agent flow and pre-registered… Chuck Mortimore
- Re: [OAUTH-WG] User-agent flow and pre-registered… Dick Hardt
- Re: [OAUTH-WG] User-agent flow and pre-registered… Marius Scurtescu
- Re: [OAUTH-WG] User-agent flow and pre-registered… Chuck Mortimore
- Re: [OAUTH-WG] User-agent flow and pre-registered… Marius Scurtescu
- Re: [OAUTH-WG] User-agent flow and pre-registered… Andrew Arnott
- Re: [OAUTH-WG] User-agent flow and pre-registered… Marius Scurtescu
- Re: [OAUTH-WG] User-agent flow and pre-registered… Andrew Arnott
- Re: [OAUTH-WG] User-agent flow and pre-registered… Marius Scurtescu
- Re: [OAUTH-WG] User-agent flow and pre-registered… Thomas Hardjono
- Re: [OAUTH-WG] User-agent flow and pre-registered… Andrew Arnott
- Re: [OAUTH-WG] User-agent flow and pre-registered… George Fletcher
- Re: [OAUTH-WG] User-agent flow and pre-registered… Torsten Lodderstedt
- Re: [OAUTH-WG] User-agent flow and pre-registered… Justin Richer
- Re: [OAUTH-WG] User-agent flow and pre-registered… Christian Scholz
- Re: [OAUTH-WG] User-agent flow and pre-registered… George Fletcher
- Re: [OAUTH-WG] User-agent flow and pre-registered… Justin Richer
- Re: [OAUTH-WG] User-agent flow and pre-registered… Marius Scurtescu
- Re: [OAUTH-WG] User-agent flow and pre-registered… David Recordon
- Re: [OAUTH-WG] User-agent flow and pre-registered… Marius Scurtescu
- Re: [OAUTH-WG] User-agent flow and pre-registered… George Fletcher
- Re: [OAUTH-WG] User-agent flow and pre-registered… Marius Scurtescu
- Re: [OAUTH-WG] User-agent flow and pre-registered… George Fletcher
- Re: [OAUTH-WG] User-agent flow and pre-registered… Marius Scurtescu
- Re: [OAUTH-WG] User-agent flow and pre-registered… George Fletcher
- Re: [OAUTH-WG] User-agent flow and pre-registered… Marius Scurtescu
- Re: [OAUTH-WG] User-agent flow and pre-registered… George Fletcher
- Re: [OAUTH-WG] User-agent flow and pre-registered… Eran Hammer-Lahav