Re: [OAUTH-WG] resource server id needed?
David Recordon <recordond@gmail.com> Fri, 23 July 2010 05:43 UTC
Return-Path: <recordond@gmail.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 AE5D43A68C2 for <oauth@core3.amsl.com>; Thu, 22 Jul 2010 22:43:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.427
X-Spam-Level:
X-Spam-Status: No, score=-2.427 tagged_above=-999 required=5 tests=[AWL=0.171, BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 Ttcb502H5XrH for <oauth@core3.amsl.com>; Thu, 22 Jul 2010 22:43:21 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id BDC8E3A6860 for <oauth@ietf.org>; Thu, 22 Jul 2010 22:43:21 -0700 (PDT)
Received: by iwn38 with SMTP id 38so9401250iwn.31 for <oauth@ietf.org>; Thu, 22 Jul 2010 22:43:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=dHMmB4Ag/Qijk6X5IBroY9F+kGExemvUlernD2TAaws=; b=l/ptsmespIrX0xMulNQrzqhgm9+f2bZn9cyjWwkLH+VvuKaLhvkQTmk9FBaBnOU1CJ PLOfDrXQyAWxJgMgyqcYH/yjYZMcy3C29uB6EOUogQl5kWFrYE0F8Ev3bS4owrFHJ9PL 7fREIObMbCqhJd6kFyXVGhtVwR/sLYX6s+OGY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JJg2NpI9UukqBN9gQUmoIguhjLibhauOaH5aX7TGeKxv0NFuxAGGrwWzcMph4f0ype KrgWEWvsXoQP6NuA1oo+AP2kli+wX47yRmxtpGQSNArv0db4/TIRJHE3odf2SlbYqjzD FmpxiUsTGcG03lvs9usK8a5H9LXHejLvnvRhc=
MIME-Version: 1.0
Received: by 10.231.80.213 with SMTP id u21mr3024283ibk.173.1279863806413; Thu, 22 Jul 2010 22:43:26 -0700 (PDT)
Received: by 10.231.174.2 with HTTP; Thu, 22 Jul 2010 22:43:23 -0700 (PDT)
In-Reply-To: <4C48C116.9000609@lodderstedt.net>
References: <C8645B85.372D8%eran@hueniverse.com> <4C3F3F6A.5000409@lodderstedt.net> <AANLkTinIjg7MIBmEIUzV9_Uo3MDb0nXvYXJcXNeLTUCe@mail.gmail.com> <4C3F9064.6060604@lodderstedt.net> <4C48C116.9000609@lodderstedt.net>
Date: Thu, 22 Jul 2010 22:43:23 -0700
Message-ID: <AANLkTikFRrhYEpNd7SVClfaj-dIsiOD7aKKDJT__CHTt@mail.gmail.com>
From: David Recordon <recordond@gmail.com>
To: Torsten Lodderstedt <torsten@lodderstedt.net>
Content-Type: multipart/alternative; boundary="0015176f0f348b498d048c07838f"
Cc: OAuth WG <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: Fri, 23 Jul 2010 05:43:25 -0000
I don't have a need for anything beyond the scope parameter here. On Thu, Jul 22, 2010 at 3:07 PM, Torsten Lodderstedt < torsten@lodderstedt.net> wrote: > no one else in the group having an opinion on this topic? > > > > Am 15.07.2010 20:14, schrieb Marius Scurtescu: >> >>> On Thu, Jul 15, 2010 at 10:03 AM, Torsten Lodderstedt >>> <torsten@lodderstedt.net> wrote: >>> >>>> As I have written in my reply to Marius's posting. I'm fine with >>>> including >>>> server ids in scopes. But this requires a definition of the scope's >>>> syntax >>>> and semantics in the spec. Otherwise, scope interpretation (and server >>>> identification) will be deployment specific. >>>> >>> Sure, it is deployment specific, but why is that an issue? >>> >>> In your case, the authz server and all the resource servers are >>> managed by the same organization, right? >>> >>> Do clients need to be aware of the actual resource server? >>> >>> You can probably create a separate spec that defines scope syntax for >>> this purpose, if really needed. Does it have to be in core? >>> >>> Marius >>> >> >> Solving the challenge I described in a deployment specific way is not an >> issue. But the consequence is that authz server, resource servers and >> clients are tight together. >> >> Let me ask you one question: Why are we working together towards a >> standard protocol? I can tell you my expectations: I hope there will be >> broad support not only by libraries, but also by ready-to-use services and >> clients, so we could integrate such services into our deployment easily. >> Moreover, I would like to see OAuth to be included in application/service >> protocols like PortableContacts, SIP, WebDAV, IMAP, ... >> >> So what if I would like to use standard clients to access our services? >> Using scopes for specifying resource server id's in this case is also simple >> - if you take an isolated view. But since scopes may be used to specifiy a >> lot of other things, like resources, permissions, and durations, handling >> w/o a more detailed spec will in practice be impossible. >> >> Suppose a WebDAV service for media data access. Any WebDAV client knows >> the WebDAV protocol (== interface), e.g. the supported methods (GET, PUT, >> POST, DELETE, COPY, MOVE) and how to traverse directories. So it is >> sufficient to configure the client with the URL of my personal web storage. >> To start with let's assume, scopes are used to designate resource servers >> only. So the server's scope could be "webstorage". >> >> WWW-Authenticate OAuth realm='webstorage' scope="webstorage" >> >> The client could just pass this parameter to the authz server and >> everything is fine. >> >> On the next level, let's assume the (future) WebDAV standard with >> OAuth-support uses one permission per method type. So the full scope could >> be as follows: >> >> WWW-Authenticate OAuth realm='webstorage' scope="webstorage:GET >> webstorage:PUT webstorage:POST webstorage:DELETE webstorage:COPY >> webstorage:MOVE" >> >> Passing this scope w/o any unmodified to the authz server is not an issue. >> But this implies the client asks for full access to the users media storage. >> Since our client is a gallery application, it requires the "GET" permission >> only. How does the client know which of the scope values to pick for the >> end-user authorization process? It must somehow select "webstorage:GET". >> >> But how? >> >> In my personal opinion, clients should be enabled to interpret, combine >> and even create scopes. And yes, this should go to the core of the spec. >> >> 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 >
- [OAUTH-WG] resource server id needed? Torsten Lodderstedt
- Re: [OAUTH-WG] resource server id needed? Marius Scurtescu
- Re: [OAUTH-WG] resource server id needed? Eran Hammer-Lahav
- Re: [OAUTH-WG] resource server id needed? Torsten Lodderstedt
- Re: [OAUTH-WG] resource server id needed? Ivan Pulleyn
- Re: [OAUTH-WG] resource server id needed? Luke Shepard
- Re: [OAUTH-WG] resource server id needed? William Mills
- Re: [OAUTH-WG] resource server id needed? William Mills
- Re: [OAUTH-WG] resource server id needed? Torsten Lodderstedt
- Re: [OAUTH-WG] resource server id needed? Eran Hammer-Lahav
- Re: [OAUTH-WG] resource server id needed? Torsten Lodderstedt
- Re: [OAUTH-WG] resource server id needed? Ivan Pulleyn
- Re: [OAUTH-WG] resource server id needed? Marius Scurtescu
- Re: [OAUTH-WG] resource server id needed? Torsten Lodderstedt
- Re: [OAUTH-WG] resource server id needed? Wolfgang.Steigerwald
- Re: [OAUTH-WG] resource server id needed? Brian Eaton
- Re: [OAUTH-WG] resource server id needed? Torsten Lodderstedt
- Re: [OAUTH-WG] resource server id needed? Brian Eaton
- Re: [OAUTH-WG] resource server id needed? Torsten Lodderstedt
- Re: [OAUTH-WG] resource server id needed? Torsten Lodderstedt
- Re: [OAUTH-WG] resource server id needed? David Recordon
- Re: [OAUTH-WG] resource server id needed? Andrew Arnott
- Re: [OAUTH-WG] resource server id needed? Torsten Lodderstedt
- Re: [OAUTH-WG] resource server id needed? Eve Maler
- Re: [OAUTH-WG] resource server id needed? Torsten Lodderstedt
- Re: [OAUTH-WG] resource server id needed? Eve Maler
- Re: [OAUTH-WG] resource server id needed? Torsten Lodderstedt
- Re: [OAUTH-WG] resource server id needed? Eve Maler