<div dir="ltr">Hi Zhanna, <div><br></div><div>Starting from jti means that you cannot track the failed authn/authz requests. </div><div>Would that be OK? </div><div><br></div><div>If you want to track from the very beginning, then it has to start from the client/RP's authn request, I suppose, but the randoms generated by a client tend to be quite untrustworthy in practice. So, we may need to have some endpoint in the OP to give out the transacion id. (BTW, mixi, one of the largest Japanese social game vendor extended Connect and does it.)</div>
<div><br></div><div>Nat</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-06 6:20 GMT+09:00 Zhanna Tsitkov <span dir="ltr"><<a href="mailto:tsitkova@mit.edu" target="_blank">tsitkova@mit.edu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
<span style="font-size:12px"><font face="Cambria">Hello,</font></span>
<div><span style="font-size:12px"><font face="Cambria">I am looking at introducing audit feature to OIDC.  More specifically, I would like to have an Audit_id - an identifier that is used for audit purposes and can be traced to the particular participant
 of the OIDC session.  Audit_id should stay unchanged and be available to all end-to-end participants of the exchange. Once generated, the audit_id can be recorded as part of audit logs at any stage of the exchange and, ideally, be available to downstream RS’s
 (or somehow deduced/back-traced ).</font></span></div>
<div><span style="font-size:12px"><font face="Cambria">Audit_id can be either an alpha-numeric string (either randomly generated or something in lines with "audit_id=sub+auth_time+jti") or some json structure.  Audit_id can be generated and signed by OP upon
 successful end-user authorization and then carried as an optional  parameter in the further processing. Alternatively, as Justin Richer has suggested, one can use access and ID token jti’s as "audit id" and have a table (at the AS) of relationships indexed
 by token identifier. </font></span></div>
<div><span style="font-size:12px"><font face="Cambria">The data of interest for audit includes permissions, policies, scopes, claims, authZ, authN related information.  For example, it can be used by government for audit purposes (banks, government agencies),
 or for audit log dynamic processing for the fast violation response systems, revocations etc.  The relevant Common Criteria document can be found here: <a href="http://www.commoncriteriaportal.org/files/ccfiles/CCPART2V3.1R4.pdf" target="_blank"><span style="color:windowtext">http://www.commoncriteriaportal.org/files/ccfiles/CCPART2V3.1R4.pdf</span></a> </font></span></div>

<div><span style="font-size:12px"><font face="Cambria"><br>
</font></span></div>
<div><span style="font-size:12px"><font face="Cambria">Your input and comments are appreciated.<br>
<br>
Thanks,<br>
Zhanna</font></span></div>
</div>

<br>_______________________________________________<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" target="_blank">http://lists.openid.net/mailman/listinfo/openid-specs-ab</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Nat Sakimura (=nat)<div>Chairman, OpenID Foundation<br><a href="http://nat.sakimura.org/" target="_blank">http://nat.sakimura.org/</a><br>@_nat_en</div>
</div>