Skip to content

Commit 9a0efa0

Browse files
authored
Update subject/sub_id in examples. Fix CAEP example (#176)
1 parent b30b571 commit 9a0efa0

File tree

1 file changed

+8
-36
lines changed

1 file changed

+8
-36
lines changed

openid-sharedsignals-framework-1_0.md

+8-36
Original file line numberDiff line numberDiff line change
@@ -414,12 +414,7 @@ The following are hypothetical examples of SETs that conform to the Shared Signa
414414
"email": "[email protected]"
415415
},
416416
"events": {
417-
"https://schemas.openid.net/secevent/risc/event-type/account-enabled": {
418-
"subject": {
419-
"format": "email",
420-
"email": "[email protected]"
421-
}
422-
}
417+
"https://schemas.openid.net/secevent/risc/event-type/account-enabled": {}
423418
}
424419
}
425420
~~~
@@ -446,19 +441,6 @@ The following are hypothetical examples of SETs that conform to the Shared Signa
446441
},
447442
"events": {
448443
"https://schemas.openid.net/secevent/caep/event-type/session-revoked": {
449-
"subject": {
450-
"format": "complex",
451-
"user": {
452-
"format": "iss_sub",
453-
"iss": "https://idp.example.com/3957ea72-1b66-44d6-a044-d805712b9288/",
454-
455-
},
456-
"device": {
457-
"format": "iss_sub",
458-
"iss": "https://idp.example.com/3957ea72-1b66-44d6-a044-d805712b9288/",
459-
"sub": "e9297990-14d2-42ec-a4a9-4036db86509a"
460-
}
461-
},
462444
"initiating_entity": "policy",
463445
"reason_admin": "Policy Violation: C076E82F",
464446
"reason_user": "Landspeed violation.",
@@ -481,10 +463,6 @@ The following are hypothetical examples of SETs that conform to the Shared Signa
481463
},
482464
"events": {
483465
"https://schemas.openid.net/secevent/caep/event-type/token-claims-change": {
484-
"subject": {
485-
"format": "email",
486-
"email": "[email protected]"
487-
},
488466
"event_timestamp": 1600975810,
489467
"claims": {
490468
"role": "ro-admin"
@@ -507,10 +485,6 @@ The following are hypothetical examples of SETs that conform to the Shared Signa
507485
},
508486
"events": {
509487
"https://schemas.openid.net/secevent/caep/event-type/token-claims-change": {
510-
"subject": {
511-
"format": "catalog_item",
512-
"catalog_id": "c0384/winter/2354122"
513-
},
514488
"event_timestamp": 1600975810,
515489
"claims": {
516490
"role": "ro-admin"
@@ -2082,10 +2056,6 @@ specific to the event type.
20822056
},
20832057
"events": {
20842058
"https://schemas.openid.net/secevent/risc/event-type/account-disabled": {
2085-
"subject": {
2086-
"format": "phone",
2087-
"phone_number": "+1 206 555 0123"
2088-
},
20892059
"reason": "hijacking",
20902060
"cause-time": 1508012752
20912061
}
@@ -2106,11 +2076,9 @@ specific to the event type.
21062076
},
21072077
"events": {
21082078
"https://schemas.openid.net/secevent/caep/event-type/token-claims-changed": {
2109-
"subject": {
2110-
"format": "email",
2111-
"email": "[email protected]"
2112-
},
2113-
"token": "some-token-value"
2079+
"claims": {
2080+
"token": "some-token-value"
2081+
}
21142082
}
21152083
}
21162084
}
@@ -2162,6 +2130,10 @@ multiple Receivers would lead to unintended data disclosure.
21622130
"iss": "https://transmitter.example.com",
21632131
"aud": ["receiver.example.com/web", "receiver.example.com/mobile"],
21642132
"iat": 1493856000,
2133+
"sub_id": {
2134+
"format": "opaque",
2135+
"id": "72e6991badb44e08a69672960053b342"
2136+
},
21652137
"events": {
21662138
"https://schemas.openid.net/secevent/ssf/event-type/verification": {
21672139
"state": "VGhpcyBpcyBhbiBleGFtcGxlIHN0YXRlIHZhbHVlLgo="

0 commit comments

Comments
 (0)