Re: [OAUTH-WG] OAuth Discovery Requirements

William Mills <wmills@yahoo-inc.com> Mon, 02 August 2010 21:14 UTC

Return-Path: <wmills@yahoo-inc.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 519E13A6C6D for <oauth@core3.amsl.com>; Mon, 2 Aug 2010 14:14:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.598
X-Spam-Level:
X-Spam-Status: No, score=-17.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RDNS_DOTCOM_HELO=0.001, USER_IN_DEF_WHITELIST=-15]
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 dB1b3nZu6K8o for <oauth@core3.amsl.com>; Mon, 2 Aug 2010 14:14:26 -0700 (PDT)
Received: from mrout3.yahoo.com (mrout3.yahoo.com [216.145.54.173]) by core3.amsl.com (Postfix) with ESMTP id 4E9653A6BC9 for <oauth@ietf.org>; Mon, 2 Aug 2010 14:14:26 -0700 (PDT)
Received: from SP2-EX07CAS02.ds.corp.yahoo.com (sp2-ex07cas02.corp.sp2.yahoo.com [98.137.59.38]) by mrout3.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id o72LEfrd092502; Mon, 2 Aug 2010 14:14:41 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:cc:date:subject:thread-topic: thread-index:message-id:references:in-reply-to:accept-language: content-language:x-ms-has-attach:x-ms-tnef-correlator:acceptlanguage: content-type:content-transfer-encoding:mime-version; b=BsTBXFN9kYD4eHq8b6T+X1XMh+h1ndQqJP2WNzUQ5zhgNLFIDpmXKd02Q0QSUB6u
Received: from SP2-EX07VS06.ds.corp.yahoo.com ([98.137.59.24]) by SP2-EX07CAS02.ds.corp.yahoo.com ([98.137.59.38]) with mapi; Mon, 2 Aug 2010 14:14:41 -0700
From: William Mills <wmills@yahoo-inc.com>
To: Marius Scurtescu <mscurtescu@google.com>, Torsten Lodderstedt <torsten@lodderstedt.net>
Date: Mon, 02 Aug 2010 14:14:40 -0700
Thread-Topic: [OAUTH-WG] OAuth Discovery Requirements
Thread-Index: Acsyg/+t5hF1HoBTT36+uI+yG9rSeAAA4UJA
Message-ID: <FFDFD7371D517847AD71FBB08F9A31562E248B4D@SP2-EX07VS06.ds.corp.yahoo.com>
References: <4C572883.7020302@lodderstedt.net> <AANLkTi=he7cZGZ01R1M-y0r-461kRZ+KspYdAnp78mVH@mail.gmail.com>
In-Reply-To: <AANLkTi=he7cZGZ01R1M-y0r-461kRZ+KspYdAnp78mVH@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)" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] OAuth Discovery Requirements
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: Mon, 02 Aug 2010 21:14:28 -0000

Client discovery can be useful for presenting a nicer user experience in token management for example, displaying a favicon for example to help identify the tokens listed for revocation.

> -----Original Message-----
> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] 
> On Behalf Of Marius Scurtescu
> Sent: Monday, August 02, 2010 1:47 PM
> To: Torsten Lodderstedt
> Cc: OAuth WG (oauth@ietf.org)
> Subject: Re: [OAUTH-WG] OAuth Discovery Requirements
> 
> Does anyone see value in client discovery?
> 
> A client starts a transaction with an authz server without 
> doing any registration beforehand. Based on the client id 
> (which can be a URL or a domain name) the authz server can 
> discover information about the client, information that 
> normally is provided during registration:
> client name, description, logo, redirect URI.
> 
> The client can self assert all this information as well, but 
> with discovery the authz server at least is confident the 
> client controls the domain where the redirect URI is.
> 
> There is no client secret issued in this case, that could be 
> a separate call, but the discovery info could include a 
> public key to be used with signatures.
> 
> Marius
> 
> 
> 
> On Mon, Aug 2, 2010 at 1:20 PM, Torsten Lodderstedt 
> <torsten@lodderstedt.net> wrote:
> > In the WG meeting at Maastricht, I have been asked to write down my 
> > requirements regarding Discovery. And here they are:
> >
> > Assumptions: Discovery allows a compliant client to automatically 
> > obtain all deployment specific data required to securely access a 
> > particular resource servers as well as its respective authorization 
> > server for the purpose of obtaining access tokens.
> >
> > Starting point of the discovery process is a resource URL. This URL 
> > can be hard-coded into the client, bundled with the applications 
> > resources or manually configured by the end-user at runtime.
> >
> > 1) Client -> Resource
> > The client uses the resource URL to obtain resource-specific data, 
> > such as
> > a) one URI refering to its authorization server
> > b) a definition of all scopes of the resource
> > c) additional data, e.g. supported signature methods and algorithms
> >
> > I do not make any assumption about how many requests are 
> processed in 
> > order to gather this information and whether there will be 
> any levels 
> > of indirections (e.g. from resource to resource server).
> >
> > 2) Client -> Authz Server
> > The authz server URI obtained in step 1 is used to gather the 
> > following data from the authz server:
> > a) endpoint URLs (end-user authorization, tokens, ...)
> > b) information about the server's capabilities, e.g. the supported 
> > response (end-user authorization endpoint) and grant types (tokens 
> > endpoint)
> >
> > The client stores the authz server's discovery URL along with the 
> > token(s) it obtains for further use.
> >
> > And that's it from my point of view. I would very much 
> appreciate if 
> > we could have a discussion towards a consensus about 
> discovery requirements.
> >
> > regards,
> > Torsten.
> >
> >
> >
> > _______________________________________________
> > 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
>