Re: [OAUTH-WG] Call for adoption for "Resource Indicators for OAuth 2.0"

Torsten Lodderstedt <torsten@lodderstedt.net> Sat, 21 July 2018 16:34 UTC

Return-Path: <torsten@lodderstedt.net>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6D329130DFF for <oauth@ietfa.amsl.com>; Sat, 21 Jul 2018 09:34:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.619
X-Spam-Level:
X-Spam-Status: No, score=-2.619 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 63Tfeluk8H2N for <oauth@ietfa.amsl.com>; Sat, 21 Jul 2018 09:34:39 -0700 (PDT)
Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.31.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF88712F1A2 for <oauth@ietf.org>; Sat, 21 Jul 2018 09:34:38 -0700 (PDT)
Received: from [80.187.120.149] (helo=[10.150.89.103]) by smtprelay03.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from <torsten@lodderstedt.net>) id 1fguq3-0005WK-8N; Sat, 21 Jul 2018 18:34:35 +0200
Content-Type: multipart/signed; boundary="Apple-Mail-7573F82E-E1A9-40D4-9180-1230D213FB57"; protocol="application/pkcs7-signature"; micalg="sha1"
Mime-Version: 1.0 (1.0)
From: Torsten Lodderstedt <torsten@lodderstedt.net>
X-Mailer: iPad Mail (15F79)
In-Reply-To: <CA+k3eCQx3puZsgyBGf=GAeAcYmrJMTgkU90WUu3W-VNU6-KurQ@mail.gmail.com>
Date: Sat, 21 Jul 2018 18:34:34 +0200
Cc: Filip Skokan <panva.ip@gmail.com>, oauth <oauth@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <62C4BE6B-5E04-4E93-8083-A6D0895F2740@lodderstedt.net>
References: <CAGL6ep+p-JsvuT5imuNN=NXg2rGX98omibO7KeGxAu3yGpaiWg@mail.gmail.com> <CA+k3eCRy_1_pgB=KWJMOgUAEgwX_jrSkpBrffk__khV_Jv1nDA@mail.gmail.com> <TY2PR01MB22971D8FB9BCA1513C3794E9F9510@TY2PR01MB2297.jpnprd01.prod.outlook.com> <426DBA0B-CC9B-4D9D-9ED8-5AD779159638@lodderstedt.net> <CALAqi_-hciPUdQbq7kmu-mJMECjVzj_Xp_vDsdYi_yCDCG8=wg@mail.gmail.com> <CA+k3eCQx3puZsgyBGf=GAeAcYmrJMTgkU90WUu3W-VNU6-KurQ@mail.gmail.com>
To: Brian Campbell <bcampbell@pingidentity.com>
X-Df-Sender: dG9yc3RlbkBsb2RkZXJzdGVkdC5uZXQ=
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/LeQ9sXi2KjWMuT-NqhjDo2K12eM>
Subject: Re: [OAUTH-WG] Call for adoption for "Resource Indicators for OAuth 2.0"
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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: Sat, 21 Jul 2018 16:34:43 -0000

Hi Brian,

> Am 20.07.2018 um 16:18 schrieb Brian Campbell <bcampbell@pingidentity.com>:
> 
> The current draft does allow multiple "resource" parameters. However, there seemed to be consensus in the WG meeting yesterday that only a single "resource" parameter was preferable

I think this makes sense for the token request. This allows the AS to audience restrict and token bind the access token to a single resource server URL.

> and that a client could obtain an access token per resource (likely using a refresh token).

I think the refresh token may represent the overall grant whereas the token request may issue an access token representing the whole or a subset of the overall grant.

The question is what this means with respect to the scope. I assume scope values are typically bound to a certain resource service. For example, “openid email mediacloud#read emailservice#read” would match to permission on a OpenID OP, a private cloud and an email service. I therefore would suggest the AS may filter the scope down to the values applicable to the resource server for which the access token is being minted.

Another question relates to the applicable resource URIs. Do you envision any way to constraint the resource URIs for which an access token might be created for a particular grant? My feeling is the resource owner should have a chance to consent or not in order to prevent the client to access resource servers the resource owner does not want it to do so.

> I'm personally sympathetic to that point. But maybe it's too restrictive. I would like to see some more text about the complexity implications of multiple "resource" parameters and perhaps some discouragement of doing so.

As stated above, I’m fine with a single parameter. I could provide some text on how the resource parameter could govern the AS behavior in case of code and refresh token grant.

> I believe logical names are more potentially useful in an STS framework like token exchange but should be out of scope for this work.

Are you referring to logical resource names?

kind regards,
Torsten.

>   
> 
> 
> 
> 
> 
> 
> 
>> On Fri, Jul 20, 2018 at 3:43 AM, Filip Skokan <panva.ip@gmail.com> wrote:
>> Hi Torsten,
>> 
>> > Multiple "resource" parameters may be used to indicate that the issued token is intended to be used at multiple resource servers.
>> 
>> That's already in. Furthermore what about logical names for target services? Like was added in -03 of token exchange?
>> 
>> Best,
>> Filip Skokan
>> 
>> 
>>> On Fri, Jul 20, 2018 at 9:33 AM Torsten Lodderstedt <torsten@lodderstedt.net> wrote:
>>> I support adoption of this document.
>>> 
>>> I would like to point out (again) a single resource is not sufficient for most use cases I implemented in the last couple if years. I‘m advocating for enhancing the draft to support multiple resources and a clear definition of the relationship between resource(s) and scope.
>>> 
>>>> Am 20.07.2018 um 08:20 schrieb n-sakimura <n-sakimura@nri.co.jp>:
>>>> 
>>>> +1
>>>> 
>>>>  
>>>> 
>>>> From: OAuth [mailto:oauth-bounces@ietf.org] On Behalf Of Brian Campbell
>>>> Sent: Friday, July 20, 2018 7:42 AM
>>>> To: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
>>>> Cc: oauth <oauth@ietf.org>
>>>> Subject: Re: [OAUTH-WG] Call for adoption for "Resource Indicators for OAuth 2.0"
>>>> 
>>>>  
>>>> 
>>>> I support adoption of this document.
>>>> 
>>>>  
>>>> 
>>>> On Thu, Jul 19, 2018 at 4:01 PM, Rifaat Shekh-Yusef <rifaat.ietf@gmail.com> wrote:
>>>> 
>>>> Hi all,
>>>> 
>>>> This is the call for adoption of the 'Resource Indicators for OAuth 2.0' document
>>>> following the positive call for adoption at the Montreal IETF meeting.
>>>> 
>>>> Here is the document:
>>>> https://tools.ietf.org/html/draft-campbell-oauth-resource-indicators-02
>>>> 
>>>> Please let us know by August 2nd whether you accept / object to the
>>>> adoption of this document as a starting point for work in the OAuth
>>>> working group.
>>>> 
>>>> Regards,
>>>> Rifaat
>>>> 
>>>> 
>>>> _______________________________________________
>>>> OAuth mailing list
>>>> OAuth@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/oauth
>>>> 
>>>>  
>>>> 
>>>> 
>>>> CONFIDENTIALITY NOTICE: This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited..  If you have received this communication in error, please notify the sender immediately by e-mail and delete the message and any file attachments from your computer. Thank you.
>>>> 
>>>> _______________________________________________
>>>> 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 mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
> 
> 
> CONFIDENTIALITY NOTICE: This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by e-mail and delete the message and any file attachments from your computer. Thank you.