Return-Path: <dick.hardt@gmail.com>
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 36C33120147
 for <oauth@ietfa.amsl.com>; Sun, 21 Jul 2019 14:22:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
 autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
 header.d=gmail.com
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 mQK0A0TrRCPd for <oauth@ietfa.amsl.com>;
 Sun, 21 Jul 2019 14:22:32 -0700 (PDT)
Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com
 [IPv6:2a00:1450:4864:20::12d])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id 75A20120098
 for <oauth@ietf.org>; Sun, 21 Jul 2019 14:22:32 -0700 (PDT)
Received: by mail-lf1-x12d.google.com with SMTP id p197so25112762lfa.2
 for <oauth@ietf.org>; Sun, 21 Jul 2019 14:22:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=GtVzogqn8sc1eEqARXBQLIDQL0iVNrHpxNv/0qvWCuM=;
 b=se8ppmB2kkYkzz9BxDeIk9B+yPvUOmqrIp7wUAY3yM5XIkKVQCx6Jh/cz5Mm+J0RBq
 xutx6A+1F21pclmei/mS73pq3+n9aQWpef7Pe+oYSmzBI22Hr+mcq5vi4R73jDfbl8W1
 nSYH/I0lWc2FP4iCB2ilz/0OcSUZoN41hCQtItZzs3dNI+7ExnXyaWvlpC5Hs0qLunKJ
 PHFVpWi3w6SOLYhGXxUnfSCSGMKhWOJQn5qe79/lpC53oiEn6TshMFsk4p+eCwjgok0U
 Aqosa6Si8rABDdjTlmNVnALE3jx0aolcfVMvJppqHFpCtlmcRR1LesFT6/AZpHRpHKfN
 QeBQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=GtVzogqn8sc1eEqARXBQLIDQL0iVNrHpxNv/0qvWCuM=;
 b=izO9pr7zQuwjruJ/2ioORZ06W32/a9iLAutuD5/MG/mNbfbBOMnn38mq5o6p5Bl6I3
 kiFEPH5rC890R9sN6/gbe/JIDXQegV6LkHcjsf2MeTW4ExzbWqK/H/cvvX+2T4EzEeg7
 a3OR5+50Wm7QJoFxl0BeGu3KgkIDU0btQHqF7myLv1F0DN0/axOVoKSlGzleuovILIGT
 /k+lU6KphdcvA8u0Bxk/rif1Y2tQOV0n8B2Rv38JBfV4lXVhVRq9ZlpGuqPWG6OiD9wc
 ngWyc8onNc1LPB4ROVgAzMlK1K30X8A1yFQ2zRIuRxqcQBWOA1HmaXpX4il1968urEOU
 WDNw==
X-Gm-Message-State: APjAAAVme6TDv8lMIqQ0gwDO8Gt7sKgVtMnVswoSTjd4UR3uf12qGGI3
 g8cyWwHfRiWPCQLi0RwAY5jaI6gjrdHdmucBpD7y+HfE
X-Google-Smtp-Source: APXvYqw4if3s8pA9NNUh995Uv3Mk0Cke/VttiCc1LHqSnDivCfAXH5rtFvJMg3bM4jTYu4PV1T/l+q135/pdnopNQNY=
X-Received: by 2002:ac2:546a:: with SMTP id e10mr30604368lfn.75.1563744150500; 
 Sun, 21 Jul 2019 14:22:30 -0700 (PDT)
MIME-Version: 1.0
References: <BD2D90C8-B629-4955-A22C-6E80E6390EEE@mit.edu>
 <CAGBSGjr+kfiavvzhPDF2SaBLDAjusoOGjvgTA85FadM+s_2u=A@mail.gmail.com>
 <E041DFD5-0501-471E-94B3-D1B36595F0BB@forgerock.com>
In-Reply-To: <E041DFD5-0501-471E-94B3-D1B36595F0BB@forgerock.com>
From: Dick Hardt <dick.hardt@gmail.com>
Date: Sun, 21 Jul 2019 14:22:19 -0700
Message-ID: <CAD9ie-smP4dyMPQAuMvD8AxXV1KNuLwBuYFRPtQDVCRBKkd-2A@mail.gmail.com>
To: Neil Madden <neil.madden@forgerock.com>
Cc: Aaron Parecki <aaron@parecki.com>, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009c39e8058e378e44"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/5d-DI7u1Ww7YiRDxypdOU3kplq4>
Subject: Re: [OAUTH-WG] Transaction Authorization
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 21 Jul 2019 21:22:35 -0000

--0000000000009c39e8058e378e44
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Neil, I agree that an access token that is usable across resources is
problematic.

How are you thinking multiple access tokens would be returned?

Why do you think the request needs to return multiple tokens rather than
making a separate request for each token? That would seem to simplify the
request and response as context would only need to provided for the one
access token.



On Fri, Jul 19, 2019 at 11:42 PM Neil Madden <neil.madden@forgerock.com>
wrote:

> If we=E2=80=99re going to redesign OAuth, one improvement would be to all=
ow a
> client to request different access tokens for different resource servers =
in
> a single request. That should include issuing a different access token fo=
r
> the userinfo endpoint vs other RSes.
>
> One of the weaknesses of combined OAuth + OIDC use now is that if you
> request OIDC scopes and scopes for another resource in the same request
> then you inadvertently give those other RSes access to the user=E2=80=99s=
 profile.
>
> =E2=80=94 Neil
>
> On 20 Jul 2019, at 01:02, Aaron Parecki <aaron@parecki.com> wrote:
>
> Hi all, I'm looking forward to the discussion on this on Tuesday!
>
> I wanted to add my thoughts on a potential addition to this draft,
> specifically around returning some minimal user information in the
> transaction response.
>
> The summary of the suggestion is to return a new "user" key along with th=
e
> access token that contains the user ID and userinfo endpoint, such as:
>
>     {
>       "access_token": {
>         "value": "UM1P9PMHKUR64TB8N6BW7OZB8CDFONP219RP1LT0",
>         "type": "bearer"
>       },
>       "user": {
>         "id": "5035678642",
>         "userinfo": "https://authorization-server.com/user/5035678642"
>       }
>     }
>
> A more detailed analysis of the specific proposal and motivation behind
> this is available on my blog:
>
> https://aaronparecki.com/2019/07/18/17/adding-identity-to-xyz
>
> Thanks!
>
> ----
> Aaron Parecki
> aaronparecki.com
> @aaronpk <http://twitter.com/aaronpk>
>
>
>
> On Tue, Jul 9, 2019 at 2:48 PM Justin Richer <jricher@mit.edu> wrote:
>
>> I have requested time to present Transactional Authorization (the XYZ
>> project) at the Montreal meeting in a couple weeks. Ahead of that, I=E2=
=80=99ve
>> uploaded a new version of the spec:
>>
>> https://tools.ietf.org/html/draft-richer-transactional-authz-02
>>
>> Additionally, I=E2=80=99ve updated the writeup and examples on https://o=
auth.xyz/
>>
>>
>> I plan to be in Montreal for the whole week, and I=E2=80=99ve requested =
from the
>> chairs that I present during the Tuesday session due to limited
>> availability of some key WG members on Friday.
>>
>> =E2=80=94 Justin
>>
>> _______________________________________________
>> 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
>

--0000000000009c39e8058e378e44
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Neil, I agree that an access token that is usable acros=
s resources is problematic.<div><br></div><div>How are you thinking multipl=
e access tokens would be returned?</div><div><br></div><div>Why do you thin=
k the request needs to return multiple tokens rather than making a separate=
 request for each token? That would seem to simplify the request and respon=
se as context would only need to provided for the one access token.</div><d=
iv><br></div><div><br></div></div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">On Fri, Jul 19, 2019 at 11:42 PM Neil Madden =
&lt;<a href=3D"mailto:neil.madden@forgerock.com">neil.madden@forgerock.com<=
/a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><=
div dir=3D"auto"><div dir=3D"ltr"></div><div dir=3D"ltr">If we=E2=80=99re g=
oing to redesign OAuth, one improvement would be to allow a client to reque=
st different access tokens for different resource servers in a single reque=
st. That should include issuing a different access token for the userinfo e=
ndpoint vs other RSes.=C2=A0</div><div dir=3D"ltr"><br></div><div dir=3D"lt=
r">One of the weaknesses of combined OAuth + OIDC use now is that if you re=
quest OIDC scopes and scopes for another resource in the same request then =
you inadvertently give those other RSes access to the user=E2=80=99s profil=
e.=C2=A0</div><div dir=3D"ltr"><br></div><div dir=3D"ltr">=E2=80=94 Neil</d=
iv><div dir=3D"ltr"><br>On 20 Jul 2019, at 01:02, Aaron Parecki &lt;<a href=
=3D"mailto:aaron@parecki.com" target=3D"_blank">aaron@parecki.com</a>&gt; w=
rote:<br><br></div><blockquote type=3D"cite"><div dir=3D"ltr"><div dir=3D"l=
tr">Hi all, I&#39;m looking forward to the discussion on this on Tuesday!<d=
iv><br></div><div>I wanted to add my thoughts on a potential addition to th=
is draft, specifically around returning some minimal user information in th=
e transaction response.</div><div><br></div><div>The summary of the suggest=
ion is to return a new &quot;user&quot; key along with the access token tha=
t contains the user ID and userinfo endpoint, such as:</div><div><br></div>=
<div>=C2=A0 =C2=A0 {<br>=C2=A0 =C2=A0=C2=A0=C2=A0 &quot;access_token&quot;:=
 {<br>=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 &quot;value&quot;: &quot;UM1P9PMHKUR=
64TB8N6BW7OZB8CDFONP219RP1LT0&quot;,<br>=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 &q=
uot;type&quot;: &quot;bearer&quot;<br>=C2=A0 =C2=A0=C2=A0=C2=A0 },<br>=C2=
=A0 =C2=A0=C2=A0=C2=A0 &quot;user&quot;: {<br>=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=
=A0 &quot;id&quot;: &quot;5035678642&quot;,<br>=C2=A0 =C2=A0=C2=A0=C2=A0 =
=C2=A0 &quot;userinfo&quot;: &quot;<a href=3D"https://authorization-server.=
com/user/5035678642" target=3D"_blank">https://authorization-server.com/use=
r/5035678642</a>&quot;<br>=C2=A0 =C2=A0=C2=A0=C2=A0 }<br>=C2=A0 =C2=A0=C2=
=A0}<br><div><br></div><div>A more detailed analysis of the specific propos=
al and motivation behind this is available on my blog:</div><div><br></div>=
<div><a href=3D"https://aaronparecki.com/2019/07/18/17/adding-identity-to-x=
yz" target=3D"_blank">https://aaronparecki.com/2019/07/18/17/adding-identit=
y-to-xyz</a><br></div><div><br></div><div>Thanks!</div><div><br clear=3D"al=
l"><div><div dir=3D"ltr" class=3D"gmail-m_912130507597235530gmail_signature=
"><div>----</div><div>Aaron Parecki</div><div><a href=3D"http://aaronpareck=
i.com" target=3D"_blank">aaronparecki.com</a></div><div><a href=3D"http://t=
witter.com/aaronpk" target=3D"_blank">@aaronpk</a></div><div><br></div></di=
v></div><br></div></div></div><br><div class=3D"gmail_quote"><div dir=3D"lt=
r" class=3D"gmail_attr">On Tue, Jul 9, 2019 at 2:48 PM Justin Richer &lt;<a=
 href=3D"mailto:jricher@mit.edu" target=3D"_blank">jricher@mit.edu</a>&gt; =
wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
I have requested time to present Transactional Authorization (the XYZ proje=
ct) at the Montreal meeting in a couple weeks. Ahead of that, I=E2=80=99ve =
uploaded a new version of the spec:
<div><br>
</div>
<div><a href=3D"https://tools.ietf.org/html/draft-richer-transactional-auth=
z-02" target=3D"_blank">https://tools.ietf.org/html/draft-richer-transactio=
nal-authz-02</a></div>
<div><br>
</div>
<div>Additionally, I=E2=80=99ve updated the writeup and examples on <a href=
=3D"https://oauth.xyz/" target=3D"_blank">
https://oauth.xyz/</a>=C2=A0</div>
<div><br>
</div>
<div>I plan to be in Montreal for the whole week, and I=E2=80=99ve requeste=
d from the chairs that I present during the Tuesday session due to limited =
availability of some key WG members on Friday.=C2=A0</div>
<div><br>
<div>
<div style=3D"color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-st=
yle:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:norma=
l;text-align:start;text-indent:0px;text-transform:none;white-space:normal;w=
ord-spacing:0px;text-decoration:none">
=E2=80=94 Justin</div>
</div>
<br>
</div>
</div>

_______________________________________________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>
</div></blockquote><blockquote type=3D"cite"><div dir=3D"ltr"><span>_______=
________________________________________</span><br><span>OAuth mailing list=
</span><br><span><a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@=
ietf.org</a></span><br><span><a href=3D"https://www.ietf.org/mailman/listin=
fo/oauth" target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a>=
</span><br></div></blockquote></div>_______________________________________=
________<br>
OAuth mailing list<br>
<a href=3D"mailto:OAuth@ietf.org" target=3D"_blank">OAuth@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/oauth" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/oauth</a><br>
</blockquote></div>

--0000000000009c39e8058e378e44--

