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

George Fletcher <gffletch@aol.com> Fri, 11 June 2010 16:25 UTC

Return-Path: <gffletch@aol.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 B3A0A3A68DA for <oauth@core3.amsl.com>; Fri, 11 Jun 2010 09:25:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.001, 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 stQF4iJmxh32 for <oauth@core3.amsl.com>; Fri, 11 Jun 2010 09:25:38 -0700 (PDT)
Received: from imr-ma03.mx.aol.com (imr-ma03.mx.aol.com [64.12.206.41]) by core3.amsl.com (Postfix) with ESMTP id 60D263A6879 for <oauth@ietf.org>; Fri, 11 Jun 2010 09:25:38 -0700 (PDT)
Received: from mtaout-da03.r1000.mx.aol.com (mtaout-da03.r1000.mx.aol.com [172.29.51.131]) by imr-ma03.mx.aol.com (8.14.1/8.14.1) with ESMTP id o5BGPBHN017672; Fri, 11 Jun 2010 12:25:12 -0400
Received: from palantir.local (unknown [10.172.1.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-da03.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 3CD18E000087; Fri, 11 Jun 2010 12:25:12 -0400 (EDT)
Message-ID: <4C126367.40403@aol.com>
Date: Fri, 11 Jun 2010 12:25:11 -0400
From: George Fletcher <gffletch@aol.com>
Organization: AOL LLC
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: oauth@ietf.org
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>
In-Reply-To: <AANLkTimyvpXmlOXRKSA4Oe0s3rqoiLQgtgvbRlvniEJ6@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
x-aol-global-disposition: G
X-AOL-SCOLL-SCORE: 0:2:420239392:93952408
X-AOL-SCOLL-URL_COUNT: 0
x-aol-sid: 3039ac1d33834c126368353a
X-AOL-IP: 10.172.1.149
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:25:39 -0000

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/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
>>>
>>>        
>>      
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
>