Re: [OAUTH-WG] User-agent flow and pre-registered redirect_uri

Marius Scurtescu <mscurtescu@google.com> Fri, 11 June 2010 16:08 UTC

Return-Path: <mscurtescu@google.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 1FDC928C0E8 for <oauth@core3.amsl.com>; Fri, 11 Jun 2010 09:08:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.453
X-Spam-Level:
X-Spam-Status: No, score=-101.453 tagged_above=-999 required=5 tests=[AWL=0.524, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, USER_IN_WHITELIST=-100]
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 Uu4EGTGI-IT1 for <oauth@core3.amsl.com>; Fri, 11 Jun 2010 09:08:01 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id 959BD28C0E1 for <oauth@ietf.org>; Fri, 11 Jun 2010 09:08:00 -0700 (PDT)
Received: from kpbe17.cbf.corp.google.com (kpbe17.cbf.corp.google.com [172.25.105.81]) by smtp-out.google.com with ESMTP id o5BG80V0015740 for <oauth@ietf.org>; Fri, 11 Jun 2010 09:08:00 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1276272480; bh=pezDYQhfk6Obz9T/rmBRI6OADgw=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=dgmAOpKCiW4FTL2gcf/Ion893znNJ6d7iloMsqzAM3wyzkvkJN3R8FqbEeSDIIPaV NRBymyPpU7b5PKhX3TrvA==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:from:date:message-id: subject:to:cc:content-type; b=x1zVRSWYmCo9P6Q21J68HejpgKoMu2VWgIeVaIZk9Sh2VU23tWXnhnYw3OCzdO0zE 0VSNcuauTps4+UBk3PeOA==
Received: from pwi7 (pwi7.prod.google.com [10.241.219.7]) by kpbe17.cbf.corp.google.com with ESMTP id o5BG7xVo009246 for <oauth@ietf.org>; Fri, 11 Jun 2010 09:07:59 -0700
Received: by pwi7 with SMTP id 7so1542725pwi.0 for <oauth@ietf.org>; Fri, 11 Jun 2010 09:07:58 -0700 (PDT)
Received: by 10.141.125.10 with SMTP id c10mr1542732rvn.214.1276272478251; Fri, 11 Jun 2010 09:07:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.141.124.13 with HTTP; Fri, 11 Jun 2010 09:07:38 -0700 (PDT)
In-Reply-To: <AANLkTimGnTj1HseMsPBaRXjBThM3uktqq0R6P30jsjaZ@mail.gmail.com>
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>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Fri, 11 Jun 2010 09:07:38 -0700
Message-ID: <AANLkTimyvpXmlOXRKSA4Oe0s3rqoiLQgtgvbRlvniEJ6@mail.gmail.com>
To: David Recordon <recordond@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: oauth@ietf.org
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 16:08:04 -0000

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

>
>
> 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/Step+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
>>
>