<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin-top:7.5pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
tt
        {mso-style-priority:99;
        font-family:SimSun;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-fareast-language:ZH-CN;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:226037311;
        mso-list-type:hybrid;
        mso-list-template-ids:2044636686 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:1.25in;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.75in;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.25in;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:2.75in;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.25in;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.75in;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:4.25in;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:1187518784;
        mso-list-template-ids:-616272430;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I$B!G(Bd added this as a comment on this issue, but I$B!G(Bm also reposting it here so that people just reading the list will see it too.  Let$B!G(Bs make this a topic of
 Monday$B!G(Bs call.  Justin and Brian, hopefully you can both join that one (even though I know that Monday$B!G(Bs 6pm Eastern Time call time isn$B!G(Bt great for you, Justin).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">                                                            -- Mike<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p style="margin-left:0in;text-indent:-.25in;mso-list:l1 level1 lfo1"><![if !supportLists]><span lang="EN" style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">    
</span></span></span><![endif]><span lang="EN" style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">I agree that it would be a shame, architecturally, if we can't use an ID Token as an assertion in a way that complies with the OAuth JWT Assertion
 Profile. I believe we need to address this.<o:p></o:p></span></p>
<p><span lang="EN" style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">There are few ways to do this, as I see it:<o:p></o:p></span></p>
<p style="margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span lang="EN" style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">    
</span></span></span><![endif]><span lang="EN" style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">Add "prn" to the ID Token. Upside: Simple. Downsides: Wastes space through duplication of data; potential interop problem where not everyone
 duplicates or uses the information in the same way.<o:p></o:p></span></p>
<p style="margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span lang="EN" style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">    
</span></span></span><![endif]><span lang="EN" style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">Replace "user_id" with "prn" in the ID Token. Downside: Less mnemonic than user_id. Upside: simple.<o:p></o:p></span></p>
<p style="margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span lang="EN" style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333"><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">    
</span></span></span><![endif]><span lang="EN" style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">Modify the OAuth JWT Assertion Profile to allow the subject to be identified by a claim other than "prn" - possibly explicitly calling out
 "user_id". Upside: would work. Downside: Codifies inconsistency.<o:p></o:p></span></p>
<p style="margin-left:.25in;text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span lang="EN" style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333"><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">    
</span></span></span><![endif]><span lang="EN" style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">Replace both "user_id" and "prn" with a different claim in both specs. Candidates include "id", "sub", $B!H(Bsbj$B!I(B, and $B!H(Bwho$B!I(B.<o:p></o:p></span></p>
<p><span lang="EN" style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333">Let's make this a topic for Monday's call.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> openid-specs-ab-bounces@lists.openid.net [mailto:openid-specs-ab-bounces@lists.openid.net]
<b>On Behalf Of </b>Nat Sakimura<br>
<b>Sent:</b> Friday, December 14, 2012 5:28 PM<br>
<b>To:</b> Brian Campbell<br>
<b>Cc:</b> <openid-specs-ab@lists.openid.net><br>
<b>Subject:</b> Re: [Openid-specs-ab] [openid/connect] Messages - Add 'prn' claim to id_token to support JWT Assertion (issue #687)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Just as a data point, audience (un-restricted | group restricted ) assertion is very useful and common in our daily life. Most of our real life HoK identity documents (drivers license, passport, National I.D.) are in this category, and
 this property is pretty important when it comes to privacy concerns. In fact, I am working on this issue around OIDC with the Japanese government grant right now. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Nat<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
Dec 15, 2012 8:12<span lang="ZH-CN">$B!"(B</span>Brian Campbell <<a href="mailto:bcampbell@pingidentity.com">bcampbell@pingidentity.com</a>>
<span lang="ZH-CN">$B$N%a%C%;!<%8(B</span>:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">That's one way to go.<br>
<br>
The assertion drafts are mostly about using the assertion to cross organizational boundaries (though I guess not necessarily). Some trusted party issues an assertion and says who it's for. The consumer of the assertion makes sure it was intended for them. 
 This seems is a special case of that where the issuer is also one of the indented audiences.   The SAML draft would allow this situation by allowing for more than one acceptable audience to be included in the token (but you can't do that in JWT). And I'm not
 aware of anyone actually doing that kind of thing in practice with SAML now. I'm not sure it's the right way to approach it for that matter.<br>
<br>
Alternatively the AS could have some special condition on audience validation for tokens that it issued itself. That's a pattern I've heard suggested several times before for various things but, though I can't say exactly why, I've never been real fond of it.
<br>
<br>
I'm not sure exactly what should be done with the case you describe.<br>
<br>
Somewhat tangentally though is that JWT only allows for a single audience to be identified in the token. I've been wondering to myself for some time now if that's too restrictive. Being able to indicated more than one intended audience in a token seems like
 it would add a lot of flexibility to a number of these various token exchange type scenarios. But then again SAML has that and I don't know how much it gets utilized. So maybe it would just be adding unneeded complexity.<br>
<br>
I'm going to stop rambling now...<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, Dec 14, 2012 at 3:40 PM, Justin Richer <<a href="mailto:jricher@mitre.org" target="_blank">jricher@mitre.org</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">You are correct. I hadn't caught that, but it does state in JWT Assertions:<o:p></o:p></p>
<p class="MsoNormal">The JWT MUST contain an <tt>aud</tt> (audience) claim containing a URI reference that identifies the authorization server, or the service provider principal entity of its controlling domain, as an intended audience. The token endpoint URL
 of the authorization server MAY be used as an acceptable value for an <tt>aud</tt> element. The authorization server MUST verify that it is an intended audience for the JWT.
<o:p></o:p></p>
<p class="MsoNormal"><br>
Which doesn't leave much wiggle room for the OIDC interpretation. Between this an 'prn', maybe this is a different kind of assertion claim, then? An id-token assertion grant type?<span style="color:#888888"><br>
<br>
<span class="hoenzb"> -- Justin</span></span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
On 12/14/2012 04:51 PM, Brian Campbell wrote:<o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">I believe the current wording of the specs would prohibit that.
<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, Dec 14, 2012 at 2:10 PM, Justin Richer <<a href="mailto:jricher@mitre.org" target="_blank">jricher@mitre.org</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">My original idea is for the Client to use the JWT Assertion flow with a current id_token to refresh it and get a new id_token. This goes back to the session management proposal linked to within the issue. In this case, the audience for
 the token really *is* the client, and an AS will need to look for that.<br>
<br>
 -- Justin <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
On 12/14/2012 04:04 PM, Brian Campbell wrote:<o:p></o:p></p>
</div>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I had a comment/question related to the below comment on issue 687 but not really related to the issue itself. So figured the list would be the best forum.<br>
<br>
Regarding the potential use of an ID Token as an assertion in the OAuth JWT Assertion Profile - aren't the requirements around the "aud" claim also potentially a problem?
<br>
<br>
Connect says the aud of an ID Token "MUST be the OAuth 2.0 client_id of the Client." While the OAuth JWT Assertion Profile is a little more flexible but basically says the aud must identify the AS or its controlling entity. Doesn't this imply that an ID Token
 could only really be used to get an access token within the scope of the client to whom it was sent in the first place? Which doesn't seem very useful. Or is it?<br>
<br>
 <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Dec 13, 2012 at 5:23 PM, Michael Jones <<a href="mailto:issues-reply@bitbucket.org" target="_blank">issues-reply@bitbucket.org</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">--- you can reply above this line ---<br>
<br>
Issue 687: Messages - Add 'prn' claim to id_token to support JWT Assertion<br>
<a href="https://bitbucket.org/openid/connect/issue/687/messages-add-prn-claim-to-id_token-to" target="_blank">https://bitbucket.org/openid/connect/issue/687/messages-add-prn-claim-to-id_token-to</a><o:p></o:p></p>
</div>
<p class="MsoNormal">Michael Jones:<br>
<br>
<br>
<b>I agree that it would be a shame, architecturally, if we can't use an ID Token as a assertion in a way that complies with the OAuth JWT Assertion Profile.
</b> I believe we need to address this.<br>
<br>
There are few ways to do this, as I see it:<br>
<br>
1.  Add "prn" to the ID Token.  Upside:  Simple.  Downsides:  Wastes space through duplication of data; potential interop problem where not everyone duplicates or uses the information in the same way.<br>
<br>
2.  Replace "user_id" with "prn" in the ID Token.  Downside:  Less mnemonic than user_id.  Upside:  simple.<br>
<br>
3.  Modify the OAuth JWT Assertion Profile to allow the subject to be identified by a claim other than "prn" - possibly explicitly calling out "user_id".  Upside:  would work.  Downside:  Codifies inconsistency.<br>
<br>
4.  Replace both "user_id" and "prn" with a different claim in both specs.  Candidates include "id" and "sub".<br>
<br>
Let's make this a topic for Monday's call.<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<br>
--<br>
<br>
This is an issue notification from <a href="http://bitbucket.org" target="_blank">
bitbucket.org</a>. You are receiving<br>
this either because you are the owner of the issue, or you are<br>
following the issue.<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
</div>
</div>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Openid-specs-ab mailing list<o:p></o:p></pre>
<pre><a href="mailto:Openid-specs-ab@lists.openid.net" target="_blank">Openid-specs-ab@lists.openid.net</a><o:p></o:p></pre>
<pre><a href="http://lists.openid.net/mailman/listinfo/openid-specs-ab" target="_blank">http://lists.openid.net/mailman/listinfo/openid-specs-ab</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">_______________________________________________<br>
Openid-specs-ab mailing list<br>
<a href="mailto:Openid-specs-ab@lists.openid.net">Openid-specs-ab@lists.openid.net</a><br>
<a href="http://lists.openid.net/mailman/listinfo/openid-specs-ab">http://lists.openid.net/mailman/listinfo/openid-specs-ab</a><o:p></o:p></p>
</div>
</blockquote>
</div>
</body>
</html>