Return-Path: <dbaier@leastprivilege.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id 428E81B2C45
 for <oauth@ietfa.amsl.com>; Tue, 26 Jan 2016 23:10:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
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 iUdRxax2yKr5 for <oauth@ietfa.amsl.com>;
 Tue, 26 Jan 2016 23:10:33 -0800 (PST)
Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com
 [IPv6:2a00:1450:4010:c07::230])
 (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 C79A41B2C3C
 for <oauth@ietf.org>; Tue, 26 Jan 2016 23:10:32 -0800 (PST)
Received: by mail-lf0-x230.google.com with SMTP id 17so21238lfz.1
 for <oauth@ietf.org>; Tue, 26 Jan 2016 23:10:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=leastprivilege-com.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:cc:message-id:in-reply-to:references:subject
 :mime-version:content-type;
 bh=Yvvrmr4aBP8FchzTqyU8gbXzisTm7m6jmUC9f4vh9wo=;
 b=swe/Uk6jfG/3IoDSbKwatGhJpJ/rIjasXT6Sjs1XtiZsD49WUcC9SacgsXlnOSQqT4
 Z4nh6xsK+15FaFT06HuVn/2H8TtFXiFmpT58KrTv0RZHym80fkDy8/P0wviBIXiu8uDr
 xOFOS/0yh9l9Re0Fij9IS5IGwcRQf0OAVIh1ml/kvYPVBTpMHaGHs7KJFjry6HNN1qWc
 jEsML00CRzDk9ypFpXcUvhoe+yfx8Ei0ZajeWm2+j1+IVPZZNAu5UKrYcW0fPqbA18F/
 clsfLF1Qu/Ba6vYp/OSh5dnR8ynDLa7iKShCf58O3QIJRsrnOh21l1f6dgMe2xFHLyZh
 sITw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to
 :references:subject:mime-version:content-type;
 bh=Yvvrmr4aBP8FchzTqyU8gbXzisTm7m6jmUC9f4vh9wo=;
 b=hdxUuq69Qf/LvLSPzg0WO4zikXrRmmu3w9XJMevfryDSjFHI5IF/4EWFk0OG2NQTsr
 kwiqWj3Eg7bd8wYK5sAcDSBGn9bqXbbbf6NcOvDgyCHWHlftPz2n1R3XCPsf6fYlJHvd
 PtO5fXaIVtTfx+3k2TDle3kFEENeAfCnFCuXVc603okWxyldQLdvhLa4bsM0wPdPvez7
 Yhe/YNXSMafAtn06xZG42843qvDVBpJFtUEOC5SEENWYfuvAjcuX7hh5OVnxusjaUWM6
 S0ThDtR8TO1f1++15xdNFSK5tRidH5OCZtyEUcSMx8BeSXPms1W0ozbfslDQ+EEsZE19
 awTg==
X-Gm-Message-State: AG10YOSKltiEVgIPf7KlTbl7F192EaYOi5sg51NrEtovCAOXTOPNujqr+VIlQVvOT8R8Qw==
X-Received: by 10.25.4.214 with SMTP id 205mr8073047lfe.90.1453878630867;
 Tue, 26 Jan 2016 23:10:30 -0800 (PST)
Received: from dombp.local ([80.232.78.190])
 by smtp.gmail.com with ESMTPSA id i192sm630310lfb.14.2016.01.26.23.10.29
 (version=TLSv1/SSLv3 cipher=OTHER);
 Tue, 26 Jan 2016 23:10:29 -0800 (PST)
Date: Wed, 27 Jan 2016 08:10:28 +0100
From: Dominick Baier <dbaier@leastprivilege.com>
To: Nat Sakimura <sakimura@gmail.com>, John Bradley <ve7jtb@ve7jtb.com>
Message-ID: <etPan.56a86d65.9ac2ddf.289@dombp.local>
In-Reply-To: <CABzCy2DcwvLvk2Z6oZrEK8mbhb3M0eaLYidq8djOC_EfEt+V-Q@mail.gmail.com>
References: <etPan.56a7d2ec.b71f1ef.289@dombp.local>
 <8A68406E-0C0F-4CDB-A510-3C139CEE3AF4@ve7jtb.com>
 <CABzCy2DcwvLvk2Z6oZrEK8mbhb3M0eaLYidq8djOC_EfEt+V-Q@mail.gmail.com>
X-Mailer: Airmail (351)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="56a86d65_7bb00ece_289"
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/eZg3vasGz1ZsYdVsImOkcZLMUMI>
Cc: oauth@ietf.org
Subject: Re: [OAUTH-WG] PKCE & Hybrid Flow
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 27 Jan 2016 07:10:35 -0000

--56a86d65_7bb00ece_289
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Thanks=21

we are almost done implementing PKCE in identity server.

And yea - a comment that PKCE applies to whenever a code is involved woul=
d be probably helpful for other implementers. Even if that makes total se=
nse, it is not obvious.

=E2=80=94=C2=A0
cheers
Dominick Baier


On 27 January 2016 at 03:11:28, Nat Sakimura (sakimura=40gmail.com) wrote=
:

To the end, perhaps amending R=46C6749 so that the response type is treat=
ed as a space separated value would be a better way to go=3F=C2=A0

2016=E5=B9=B41=E6=9C=8827=E6=97=A5(=E6=B0=B4) 5:20 John Bradley <ve7jtb=40=
ve7jtb.com>:
Yes it also applies to the =E2=80=9Ccode id=5Ftoken=E2=80=9D response=5Ft=
ype. =C2=A0 It would also apply to =E2=80=9Ccode token=E2=80=9D , =E2=80=9C=
code token id=5Ftoken=E2=80=9D response types as well though I can=E2=80=99=
t think of why a native app would use those.

We can look at a errata to clarify.=C2=A0 It is a artifact of resonse=5Ft=
ype being treated as a single string as opposed to being space separated =
values as most people would expect.

John B.

On Jan 26, 2016, at 5:11 PM, Dominick Baier <dbaier=40leastprivilege.com>=
 wrote:

Hi,=C2=A0

PKCE only mentions OAuth 2.0 code flow - but wouldn=E2=80=99t that also a=
pply to OIDC hybrid flow e.g. code id=5Ftoken=3F

=E2=80=94=C2=A0
cheers
Dominick Baier

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
OAuth mailing list
OAuth=40ietf.org
https://www.ietf.org/mailman/listinfo/oauth

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
OAuth mailing list
OAuth=40ietf.org
https://www.ietf.org/mailman/listinfo/oauth

--56a86d65_7bb00ece_289
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<html><head><style>body=7Bfont-family:Helvetica,Arial;font-size:13px=7D</=
style></head><body style=3D=22word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;=22><div id=3D=22bloop=5Fcust=
omfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: r=
gba(0,0,0,1.0); margin: 0px; line-height: auto;=22>Thanks=21</div><div id=
=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;font-s=
ize:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22><br>=
</div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica=
,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: =
auto;=22>we are almost done implementing PKCE in identity server.</div><d=
iv id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;f=
ont-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22=
><br></div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helv=
etica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-hei=
ght: auto;=22>And yea - a comment that PKCE applies to whenever a code is=
 involved would be probably helpful for other implementers. Even if that =
makes total sense, it is not obvious.</div> <br> <div id=3D=22bloop=5Fsig=
n=5F1453878563757123072=22 class=3D=22bloop=5Fsign=22><div style=3D=22fon=
t-family:helvetica,arial;font-size:13px=22>=E2=80=94&nbsp;<br>cheers</div=
><div style=3D=22font-family:helvetica,arial;font-size:13px=22>Dominick B=
aier<br><br></div></div> <br><p class=3D=22airmail=5Fon=22>On 27 January =
2016 at 03:11:28, Nat Sakimura (<a href=3D=22mailto:sakimura=40gmail.com=22=
>sakimura=40gmail.com</a>) wrote:</p> <blockquote type=3D=22cite=22 class=
=3D=22clean=5Fbq=22><span><div><div></div><div>


<title></title>


<div dir=3D=22ltr=22>To the end, perhaps amending R=46C6749 so that the
response type is treated as a space separated value would be a
better way to go=3F&nbsp;</div>
<br>
<div class=3D=22gmail=5Fquote=22>
<div dir=3D=22ltr=22>2016=E5=B9=B41=E6=9C=8827=E6=97=A5(=E6=B0=B4) 5:20 J=
ohn Bradley &lt;<a href=3D=22mailto:ve7jtb=40ve7jtb.com=22>ve7jtb=40ve7jt=
b.com</a>&gt;:<br></div>
<blockquote class=3D=22gmail=5Fquote=22 style=3D=22margin:0 0 0 .8ex;bord=
er-left:1px =23ccc solid;padding-left:1ex=22>
<div style=3D=22word-wrap:break-word=22>Yes it also applies to the =E2=80=
=9Ccode
id=5Ftoken=E2=80=9D response=5Ftype. &nbsp; It would also apply to =E2=80=
=9Ccode token=E2=80=9D
, =E2=80=9Ccode token id=5Ftoken=E2=80=9D response types as well though I=
 can=E2=80=99t think
of why a native app would use those.
<div><br></div>
<div>We can look at a errata to clarify.&nbsp; It is a artifact of
resonse=5Ftype being treated as a single string as opposed to being
space separated values as most people would expect.</div>
<div><br></div>
<div>John B.</div>
</div>
<div style=3D=22word-wrap:break-word=22>
<div><br>
<div>
<blockquote type=3D=22cite=22>
<div>On Jan 26, 2016, at 5:11 PM, Dominick Baier &lt;<a href=3D=22mailto:=
dbaier=40leastprivilege.com=22 target=3D=22=5Fblank=22>dbaier=40leastpriv=
ilege.com</a>&gt; wrote:</div>
<br>
<div>
<div style=3D=22font-family:Helvetica,Arial;font-size:13px;font-style:nor=
mal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-ali=
gn:start;text-indent:0px;text-transform:none;white-space:normal;word-spac=
ing:0px;margin:0px=22>
Hi,&nbsp;</div>
<div style=3D=22font-family:Helvetica,Arial;font-size:13px;font-style:nor=
mal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-ali=
gn:start;text-indent:0px;text-transform:none;white-space:normal;word-spac=
ing:0px;margin:0px=22>
<br></div>
<div style=3D=22font-family:Helvetica,Arial;font-size:13px;font-style:nor=
mal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-ali=
gn:start;text-indent:0px;text-transform:none;white-space:normal;word-spac=
ing:0px;margin:0px=22>
PKCE only mentions OAuth 2.0 code flow - but wouldn=E2=80=99t that also
apply to OIDC hybrid flow e.g. code id=5Ftoken=3F</div>
<br style=3D=22font-family:Helvetica,Arial;font-size:13px;font-style:norm=
al;font-variant:normal;font-weight:normal;letter-spacing:normal;text-alig=
n:start;text-indent:0px;text-transform:none;white-space:normal;word-spaci=
ng:0px=22>

<div style=3D=22font-family:Helvetica,Arial;font-size:13px;font-style:nor=
mal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-ali=
gn:start;text-indent:0px;text-transform:none;white-space:normal;word-spac=
ing:0px=22>
<div style=3D=22font-family:helvetica,arial;font-size:13px=22>
=E2=80=94&nbsp;<br>
cheers</div>
<div style=3D=22font-family:helvetica,arial;font-size:13px=22>Dominick
Baier<br>
<br></div>
</div>
<span style=3D=22font-family:Helvetica,Arial;font-size:13px;font-style:no=
rmal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-al=
ign:start;text-indent:0px;text-transform:none;white-space:normal;word-spa=
cing:0px;float:none;display:inline=21important=22>=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F</span><br style=3D=22font-fami=
ly:Helvetica,Arial;font-size:13px;font-style:normal;font-variant:normal;f=
ont-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;=
text-transform:none;white-space:normal;word-spacing:0px=22>

<span style=3D=22font-family:Helvetica,Arial;font-size:13px;font-style:no=
rmal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-al=
ign:start;text-indent:0px;text-transform:none;white-space:normal;word-spa=
cing:0px;float:none;display:inline=21important=22>
OAuth mailing list</span><br style=3D=22font-family:Helvetica,Arial;font-=
size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter=
-spacing:normal;text-align:start;text-indent:0px;text-transform:none;whit=
e-space:normal;word-spacing:0px=22>

<a href=3D=22mailto:OAuth=40ietf.org=22 style=3D=22font-family:Helvetica,=
Arial;font-size:13px;font-style:normal;font-variant:normal;font-weight:no=
rmal;letter-spacing:normal;text-align:start;text-indent:0px;text-transfor=
m:none;white-space:normal;word-spacing:0px=22 target=3D=22=5Fblank=22>OAu=
th=40ietf.org</a><br style=3D=22font-family:Helvetica,Arial;font-size:13p=
x;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing=
:normal;text-align:start;text-indent:0px;text-transform:none;white-space:=
normal;word-spacing:0px=22>

<a href=3D=22https://www.ietf.org/mailman/listinfo/oauth=22 style=3D=22fo=
nt-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant:n=
ormal;font-weight:normal;letter-spacing:normal;text-align:start;text-inde=
nt:0px;text-transform:none;white-space:normal;word-spacing:0px=22 target=3D=
=22=5Fblank=22>https://www.ietf.org/mailman/listinfo/oauth</a></div>
</blockquote>
</div>
<br></div>
</div>
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>
OAuth mailing list<br>
<a href=3D=22mailto:OAuth=40ietf.org=22 target=3D=22=5Fblank=22>OAuth=40i=
etf.org</a><br>
<a href=3D=22https://www.ietf.org/mailman/listinfo/oauth=22 rel=3D=22nore=
ferrer=22 target=3D=22=5Fblank=22>https://www.ietf.org/mailman/listinfo/o=
auth</a><br></blockquote>
</div>


</div></div></span></blockquote></body></html>
--56a86d65_7bb00ece_289--

