[Openid-specs-ab] audit in OIDC

Zhanna Tsitkov tsitkova at MIT.EDU
Thu Aug 7 20:48:28 UTC 2014

Hello John,
Yes, I need something in lines with session_id….   (Basically, this is where I was coming from when I suggested to have a random alphanumeric string for audit identifier)
On the other hand, I would like to better understand the value of having the identifier that can be deducted/calculated  from the “known” parameters,  that is created based in some rules/formulas.

On Aug 7, 2014, at 3:35 PM, John Bradley <ve7jtb at ve7jtb.com<mailto:ve7jtb at ve7jtb.com>> wrote:


Connect dosen't specify any format for access tokens, those are implementation specific.

There has been discussion around the need for a session_id to allow backchannel messages to reference particular sessions.

At the moment the closes thing to that is nonce which is set by the Client and returned in the id_token.  It is however opaque to the AS so probably not suitable.

Is a ssession_id more of what you are looking for?   The jti is intended to stop token replay and will be changed if the id_token is refreshed.

John B.

On Aug 5, 2014, at 5:20 PM, Zhanna Tsitkov <tsitkova at MIT.EDU<mailto:tsitkova at MIT.EDU>> wrote:

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 ).
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.
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: http://www.commoncriteriaportal.org/files/ccfiles/CCPART2V3.1R4.pdf

Your input and comments are appreciated.

Openid-specs-ab mailing list
Openid-specs-ab at lists.openid.net<mailto:Openid-specs-ab at lists.openid.net>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs-ab/attachments/20140807/4f357992/attachment-0001.html>

More information about the Openid-specs-ab mailing list