You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* New session presented event
* removed risk_score from the event description. I will create a new PR for that
* added txn claim to example
* modified value of "ip" field to being an array
* incorporated Apoorva's feedback
* added txn to all event examples, and removed risk_score from session presented event example
Copy file name to clipboardexpand all lines: openid-caep-specification-1_0.md
+61-3
Original file line number
Diff line number
Diff line change
@@ -255,6 +255,7 @@ NOTE: The event type URI is wrapped, the backslash is the continuation character
255
255
"jti": "24c63fb56e5a2d77a6b512616ca9fa24",
256
256
"iat": 1615305159,
257
257
"aud": "https://sp.example.com/caep",
258
+
"txn": 8675309,
258
259
"sub_id": {
259
260
"format": "opaque",
260
261
"id": "dMTlD|1600802906337.16|16008.16"
@@ -274,6 +275,7 @@ NOTE: The event type URI is wrapped, the backslash is the continuation character
274
275
"jti": "24c63fb56e5a2d77a6b512616ca9fa24",
275
276
"iat": 1615305159,
276
277
"aud": "https://sp.example.com/caep",
278
+
"txn": 8675309,
277
279
"sub_id": {
278
280
"format": "complex",
279
281
"session": {
@@ -313,6 +315,7 @@ NOTE: The event type URI is wrapped, the backslash is the continuation character
313
315
"jti": "24c63fb56e5a2d77a6b512616ca9fa24",
314
316
"iat": 1615305159,
315
317
"aud": "https://sp.example.com/caep",
318
+
"txn": 8675309,
316
319
"sub_id": {
317
320
"format": "complex",
318
321
"user": {
@@ -376,6 +379,7 @@ NOTE: The event type URI is wrapped, the backslash is the continuation character
376
379
"jti": "9afce1e4e642b165fcaacdd0e7aa4903",
377
380
"iat": 1615305159,
378
381
"aud": "https://sp.example2.net/caep",
382
+
"txn": 8675309,
379
383
"sub_id": {
380
384
"format": "jwt_id",
381
385
"iss": "https://idp.example.com/987654321/",
@@ -399,6 +403,7 @@ NOTE: The event type URI is wrapped, the backslash is the continuation character
399
403
"jti": "9afce1e4e642b165fcaacdd0e7aa4903",
400
404
"iat": 1615305159,
401
405
"aud": "https://sp.example2.net/caep",
406
+
"txn": 8675309,
402
407
"sub_id": {
403
408
"format": "jwt_id",
404
409
"iss": "https://idp.example.com/987654321/",
@@ -431,6 +436,7 @@ NOTE: The event type URI is wrapped, the backslash is the continuation character
431
436
"jti": "dae94fed5f459881efa38b65c6772ddc",
432
437
"iat": 1615305159,
433
438
"aud": "https://sp.example2.net/caep",
439
+
"txn": 8675309,
434
440
"sub_id": {
435
441
"format": "saml_assertion_id",
436
442
"issuer": "https://idp.example.com/987654321/",
@@ -514,6 +520,7 @@ NOTE: The event type URI is wrapped, the backslash is the continuation character
514
520
"jti": "07efd930f0977e4fcc1149a733ce7f78",
515
521
"iat": 1615305159,
516
522
"aud": "https://sp.example2.net/caep",
523
+
"txn": 8675309,
517
524
"sub_id": {
518
525
"format": "iss_sub",
519
526
"iss": "https://idp.example.com/3456789/",
@@ -596,6 +603,7 @@ the assurance level changed.
596
603
"jti": "07efd930f0977e4fcc1149a733ce7f78",
597
604
"iat": 1615305159,
598
605
"aud": "https://sp.example2.net/caep",
606
+
"txn": 8675309,
599
607
"sub_id": {
600
608
"format": "iss_sub",
601
609
"iss": "https://idp.example.com/3456789/",
@@ -621,6 +629,7 @@ the assurance level changed.
621
629
"jti": "07efd930f0977e4fcc1149a733ce7f78",
622
630
"iat": 1615305159,
623
631
"aud": "https://sp.example2.net/caep",
632
+
"txn": 8675309,
624
633
"sub_id": {
625
634
"format": "iss_sub",
626
635
"iss": "https://idp.example.com/3456789/",
@@ -678,6 +687,7 @@ NOTE: The event type URI is wrapped, the backslash is the continuation character
678
687
"jti": "24c63fb56e5a2d77a6b512616ca9fa24",
679
688
"iat": 1615305159,
680
689
"aud": "https://sp.example.com/caep",
690
+
"txn": 8675309,
681
691
"sub_id": {
682
692
"format": "complex",
683
693
"device": {
@@ -724,7 +734,7 @@ The `event_timestamp` in this event type specifies the time at which the session
724
734
### Event Specific Claims {#session-established-event-specific-claims}
725
735
The following optional claims MAY be included in the Session Established event:
726
736
727
-
ip
737
+
ips
728
738
: The array of IP addresses of the user as observed by the Transmitter. The value MUST be in the format of an array of strings, each one of which represents the RFC 4001 {{RFC4001}} string represetation of an IP address. (**NOTE**, this can be different from the one observed by the Receiver for the same user because of network translation)
729
739
730
740
fp_ua
@@ -749,21 +759,69 @@ The following is a non-normative example of the `session-established` event type
The Session Presented event signifies that the Transmitter has observed the session to be present at the Transmitter at the time indicated by the `event_timestamp` field in the Session Presented event. Receivers may use this information for reasons that include:
785
+
786
+
* Detecting abnormal user activity
787
+
* Establishing an inventory of live sessions belonging to a user
788
+
789
+
### Event Specific Claims {#session-presented-event-specific-claims}
790
+
The following optional claims MAY be present in a Session Presented event:
791
+
792
+
ips
793
+
: The array of IP addresses of the user as observed by the Transmitter. The value MUST be in the format of an array of strings, each one of which represents the RFC 4001 {{RFC4001}} string represetation of an IP address. (**NOTE**, this can be different from the one observed by the Receiver for the same user because of network translation)
794
+
795
+
fp_ua
796
+
: Fingerprint of the user agent computed by the Transmitter. (**NOTE**, this is not to identify the session, but to present some qualities of the session)
797
+
798
+
ext_id
799
+
: The external session identifier, which may be used to correlate this session with a broader session (e.g., a federated session established using SAML)
800
+
801
+
### Examples {#session-presented-examples}
802
+
The following is a non-normative example of a Session Presented event:
0 commit comments