Re: [OAUTH-WG] resource server id needed?

Marius Scurtescu <mscurtescu@google.com> Wed, 14 July 2010 22:37 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 BA3CC3A6994 for <oauth@core3.amsl.com>; Wed, 14 Jul 2010 15:37:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.844
X-Spam-Level:
X-Spam-Status: No, score=-101.844 tagged_above=-999 required=5 tests=[AWL=0.133, 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 uPLsMksNhbXG for <oauth@core3.amsl.com>; Wed, 14 Jul 2010 15:37:28 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id 8E26D3A6814 for <oauth@ietf.org>; Wed, 14 Jul 2010 15:37:28 -0700 (PDT)
Received: from wpaz21.hot.corp.google.com (wpaz21.hot.corp.google.com [172.24.198.85]) by smtp-out.google.com with ESMTP id o6EMbbaY032549 for <oauth@ietf.org>; Wed, 14 Jul 2010 15:37:37 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1279147058; bh=GpF66WKbm63xNZT274D2MkvlUiU=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=BSOy6y6to5hgLaSCMeLCE9WbsrNUDw9ZumptopbxQ5LEzmAj3neeYXw/N835newel XqxgO043qCspTdarw4plw==
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=f7OfGqOmOf0BkGR0T78gRjg0OYYkDUZcYqueTsCMrbPZkCpcHXAGFM9gTmrgUbqwX mpqrsW+wjIEJ+ePPjlepQ==
Received: from gyg8 (gyg8.prod.google.com [10.243.50.136]) by wpaz21.hot.corp.google.com with ESMTP id o6EMbR4d022374 for <oauth@ietf.org>; Wed, 14 Jul 2010 15:37:36 -0700
Received: by gyg8 with SMTP id 8so238197gyg.30 for <oauth@ietf.org>; Wed, 14 Jul 2010 15:37:36 -0700 (PDT)
Received: by 10.100.6.5 with SMTP id 5mr19737213anf.243.1279147056340; Wed, 14 Jul 2010 15:37:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.93.3 with HTTP; Wed, 14 Jul 2010 15:37:16 -0700 (PDT)
In-Reply-To: <4C3E389D.5080300@lodderstedt.net>
References: <4C3E389D.5080300@lodderstedt.net>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Wed, 14 Jul 2010 15:37:16 -0700
Message-ID: <AANLkTilbBWMoMj5DIJ7IMYzlBGgZHni7xCYHyAzz_XK4@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] resource server id needed?
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: Wed, 14 Jul 2010 22:37:29 -0000

On Wed, Jul 14, 2010 at 3:22 PM, Torsten Lodderstedt
<torsten@lodderstedt.net> wrote:
> I have a question concerning the OAuth philosophy: How many resource servers
> may be managed by a single OAuth authorization server? (a) A single resource
> server or (b) several of them exposing different resource types?
>
> If the answer is (b) then how is a particular resource server identified in
> the protocol? Clients have Ids, end-users as well (at least in a future
> protocol extension), but what about resource server Ids?
>
> I think resource servers must be identifiable in multi-server deployments
> for several reasons:
> - Interpretation of the scope parameter should be resource server specific -
> "read" may have different meanings in mail and address book
> - An authorization server probably wants to apply server-specific security
> policy, e.g. different access token durations
> - It will be possible to create special tokens per server
>
> I think we should introduce a resource server id in the authz and access
> token request.
>
> Any thoughts?

I think the scope fills this role. Scopes implemented as URIs, for
example, allow the authz server to map them to resource servers.

Marius