Re: [OAUTH-WG] OAuth Discovery Requirements
Marius Scurtescu <mscurtescu@google.com> Mon, 02 August 2010 20:47 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 0D4463A6C32 for <oauth@core3.amsl.com>; Mon, 2 Aug 2010 13:47:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.666
X-Spam-Level:
X-Spam-Status: No, score=-105.666 tagged_above=-999 required=5 tests=[AWL=0.311, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, 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 7i2dAH4JVr9R for <oauth@core3.amsl.com>; Mon, 2 Aug 2010 13:47:08 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id F3B2B3A69DC for <oauth@ietf.org>; Mon, 2 Aug 2010 13:47:07 -0700 (PDT)
Received: from hpaq7.eem.corp.google.com (hpaq7.eem.corp.google.com [172.25.149.7]) by smtp-out.google.com with ESMTP id o72KlYbK000997 for <oauth@ietf.org>; Mon, 2 Aug 2010 13:47:35 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1280782055; bh=MEDfwC3xG8lKb1HNE/+cI9vTV2g=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=hYH0u3KBiPYCnH8f1YawxWbGW2kALbVkdB1mVKoKjjF+IjMIw8QR1cVXX59sFd1Ab bafJsHziEQxJnvwtvpl2A==
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:x-system-of-record; b=Kqga366beWFyvOJIOX8MUD1F+hJkQvotfTzALuwXntbhe0TQ3yDZ8VueUnb5dWOj+ baOfoWXuTR6asO36pQhzg==
Received: from yxn35 (yxn35.prod.google.com [10.190.4.99]) by hpaq7.eem.corp.google.com with ESMTP id o72KlD75031362 for <oauth@ietf.org>; Mon, 2 Aug 2010 13:47:33 -0700
Received: by yxn35 with SMTP id 35so1715966yxn.23 for <oauth@ietf.org>; Mon, 02 Aug 2010 13:47:33 -0700 (PDT)
Received: by 10.100.154.15 with SMTP id b15mr6797038ane.20.1280782053181; Mon, 02 Aug 2010 13:47:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.119.15 with HTTP; Mon, 2 Aug 2010 13:47:13 -0700 (PDT)
In-Reply-To: <4C572883.7020302@lodderstedt.net>
References: <4C572883.7020302@lodderstedt.net>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Mon, 02 Aug 2010 13:47:13 -0700
Message-ID: <AANLkTi=he7cZGZ01R1M-y0r-461kRZ+KspYdAnp78mVH@mail.gmail.com>
To: Torsten Lodderstedt <torsten@lodderstedt.net>
Content-Type: text/plain; charset="ISO-8859-1"
X-System-Of-Record: true
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 20:47:11 -0000
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-WG] OAuth Discovery Requirements Torsten Lodderstedt
- Re: [OAUTH-WG] OAuth Discovery Requirements Marius Scurtescu
- Re: [OAUTH-WG] OAuth Discovery Requirements William Mills
- Re: [OAUTH-WG] OAuth Discovery Requirements David Recordon
- Re: [OAUTH-WG] OAuth Discovery Requirements Torsten Lodderstedt
- Re: [OAUTH-WG] OAuth Discovery Requirements William Mills
- Re: [OAUTH-WG] OAuth Discovery Requirements Torsten Lodderstedt
- Re: [OAUTH-WG] OAuth Discovery Requirements William Mills
- Re: [OAUTH-WG] OAuth Discovery Requirements Eran Hammer-Lahav
- Re: [OAUTH-WG] OAuth Discovery Requirements Igor Faynberg