[OAUTH-WG] OAuth Discovery Requirements

Torsten Lodderstedt <torsten@lodderstedt.net> Mon, 02 August 2010 20:19 UTC

Return-Path: <torsten@lodderstedt.net>
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 284A23A6C69 for <oauth@core3.amsl.com>; Mon, 2 Aug 2010 13:19:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.769
X-Spam-Level:
X-Spam-Status: No, score=-0.769 tagged_above=-999 required=5 tests=[AWL=-0.009, BAYES_05=-1.11, HELO_EQ_DE=0.35]
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 D2xnQirxFy-8 for <oauth@core3.amsl.com>; Mon, 2 Aug 2010 13:19:58 -0700 (PDT)
Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.31.26]) by core3.amsl.com (Postfix) with ESMTP id 410953A6BC9 for <oauth@ietf.org>; Mon, 2 Aug 2010 13:19:58 -0700 (PDT)
Received: from tmo-108-251.customers.d1-online.com ([80.187.108.251] helo=[127.0.0.1]) by smtprelay03.ispgateway.de with esmtpa (Exim 4.68) (envelope-from <torsten@lodderstedt.net>) id 1Og1Um-0000VA-Hb for oauth@ietf.org; Mon, 02 Aug 2010 22:20:25 +0200
Message-ID: <4C572883.7020302@lodderstedt.net>
Date: Mon, 02 Aug 2010 22:20:19 +0200
From: Torsten Lodderstedt <torsten@lodderstedt.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6
MIME-Version: 1.0
To: "OAuth WG (oauth@ietf.org)" <oauth@ietf.org>
Content-Type: text/plain; charset="ISO-8859-15"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Df-Sender: 141509
Subject: [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 20:19:59 -0000

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.