| Status | Draft. |
| Version | 0.1.0, 2026-11-28 |
| Profile of | OpenID Shared Signals Framework 1.0, CAEP 1.0, RISC 1.0; RFC 8417 (Security Event Token), RFC 8935 (push), RFC 8936 (poll), RFC 9493 (Subject Identifiers) |
| Depends on | OCI-0 Core, OCI-1 Trust Registry |
| Used by | OCI-2 ID Auth, OCI-3 KYC, OCI-4 Credentials, OCI-5 Consent Receipt, OCI-CONSENT-1 Consented Data Access |
| Reference implementation | packages/signals (@oci/signals) |
1. Purpose
OCI-7 lets one party tell another, quickly and safely, that something changed which the other party must act on: a credential was revoked, a key was compromised, a resident died or was deactivated, consent was paused or withdrawn, a session was revoked.
It reuses the Shared Signals Framework (SSF) for streams, discovery and delivery, and CAEP and RISC for event types. OCI adds only:
- A few event types CAEP and RISC do not have (§6).
- Pairwise subjects, so an event never carries a national ID number (§4).
- Discovery and authorisation through OCI-1 (§3).
- Tighter SET rules, replay protection and strict event payloads (§5, §8, §9).
Events say that something changed. They do not carry personal data. A receiver that needs more calls OCI-3 with consent.
2. Roles
| Term | Meaning |
|---|---|
| Transmitter | Sends events. In OCI: a registrar, identity provider, credential issuer or wallet provider, and for consent events a data holder or consent manager (§3, §6). |
| Receiver | Receives events on a stream. In OCI: a relying party (including a data user), identity provider, credential issuer, wallet provider, data holder or consent manager. |
| Stream | One configured channel from one transmitter to one receiver (SSF 1.0 §8.1). |
| Subject | The resident or session an event is about, as an RFC 9493 Subject Identifier, specific to one receiver (§4). |
A transmitter may relay an event it received (a registrar tells an identity provider, which tells relying parties). A relay creates a new SET with its own iss, aud, jti and a subject for the new receiver. It keeps txn (SIG-5.8).
3. Discovery and authorisation
- SIG-3.1 A transmitter’s SSF
issuerMUST be its OCI entity identifier (CORE-3.1). Its transmitter metadata is served at/.well-known/ssf-configurationinserted between the host and any path of the identifier (SSF 1.0 §7.2). It MUST setspec_versionto1_0. - SIG-3.2 A receiver MUST resolve the transmitter through OCI-1 and MUST reject an event unless the transmitter holds an OCI-1 role trust mark that is allowed to send that event type (table in §6). A transmitter MUST NOT create a stream for a receiver that does not resolve through OCI-1 to a trust anchor the transmitter accepts, or that lacks a receiver role:
relying_party,identity_provider,credential_issuer,wallet_provider,data_holderorconsent_manager(the last two for OCI-CONSENT-1, CDA-12.5). Across countries this needs recognition under TR-6. - SIG-3.3 (OCI extension) SET verification keys MUST be published in the transmitter’s entity configuration as the JWK Set
metadata.federation_entity.oci_jwks(OCI-0 key rules apply). OpenID Federation 1.0 §5.2.1 forbidsjwks,jwks_uriandsigned_jwks_uriinfederation_entitymetadata, so OCI uses its own parameter, as TR-2.1 does foroci_country. Receivers MUST verify SETs only with keys from a resolved OCI-1 chain. They MUST NOT take keys from SSFjwks_uri. Federation Entity Keys (the top-leveljwks) MUST NOT sign SETs (OpenID Federation 1.0 §3.1.1: they SHOULD NOT be used in other protocols). - SIG-3.4 Transmitters MUST support push (
urn:ietf:rfc:8935) and poll (urn:ietf:rfc:8936) delivery (SSF 1.0 §6.1). The receiver picks one per stream. - SIG-3.5 Streams are created, read and updated through the SSF configuration endpoint (SSF 1.0 §8.1.1). A transmitter SHOULD NOT publish
add_subject_endpointorremove_subject_endpoint: the subjects of a stream are fixed by §4 (SIG-4.6). It SHOULD setdefault_subjectstoALL, meaning all subjects of SIG-4.6 (open question 3). - SIG-3.6 Push
endpoint_urlMUST behttps(RFC 8935 §5.3). A receiver SHOULD supplyauthorization_header(SSF 1.0 §6.1.1). The push request is authenticated by the SET itself (SIG-8.1) and, when supplied, by that header. - SIG-3.7 (OCI extension) A transmitter MUST hold the OCI-1 role trust mark
https://oci.world/tm/role/signal_transmitter, in addition to a role that SIG-3.2 allows for the event type. OCI defines no entity type for transmitters (TR-3.5). Receivers MUST reject SETs from an entity without this mark. OCI-1 §4 needs to list the mark (open question 1).
4. Subjects
- SIG-4.1 The primary subject MUST be in the top-level
sub_idclaim (SSF 1.0 §3.1). - SIG-4.2 OCI uses three RFC 9493 / SSF formats only:
iss_sub(membersiss,sub),opaque(memberid), andcomplex(SSF 1.0 §3.3) whose members areuser,device,session,application,tenant,org_unitorgroup, each aniss_suboropaque. Complex subjects MUST NOT nest and MUST NOT have members outside that list. - SIG-4.3 For a resident, the subject MUST be
iss_subwheresubis the pairwise subject identifier the receiver already got at login or enrolment (OpenID Connect Core 1.0 §8.1). It MUST differ for every receiver. It MUST NOT be a national ID number, a VID, or any value derived from one without a per-receiver secret. - SIG-4.4
email,phone_number,account,did,uriandaliasesMUST NOT be used (RFC 9493 §6.1: they let receivers correlate residents). Receivers MUST reject them. - SIG-4.5 Events MUST NOT carry a
subjectmember. SSF 1.0 §3.1.2 forbids it for new event types; OCI forbids it for reused ones too. - SIG-4.6 A transmitter MUST send a receiver events only about subjects whose pairwise identifier it issued to that receiver.
5. SET format
A SET is a JWT signed as a JWS (RFC 8417 §2).
- SIG-5.1 The JWS header MUST carry
typ: secevent+jwt(RFC 8417 §2.3, SSF 1.0 §4.1.1, CORE-5.4). The valueapplication/secevent+jwtis the media type of the HTTP body (RFC 8935 §2.1), not atyp, and MUST be rejected there. - SIG-5.2
algMUST beES256orPS256, and the header MUST carrykid(CORE-5.1 to CORE-5.3). Unsigned SETs (alg: none) MUST be rejected. SETs are signed JWS only in 0.1 (RFC 8417 §5.1; see SIG-10.3). - SIG-5.3 These claims are REQUIRED:
iss,iat,jti,aud,sub_id,events. RFC 8417 §2.2 makesaudonly RECOMMENDED; OCI requires it (OCI extension). - SIG-5.4
audMUST be a single string, the receiver’s OCI entity identifier (SSF 1.0 §4.1.8 warns that several receivers inaudcan disclose data). A receiver MUST reject any otheraud, including an array. - SIG-5.5 The
subclaim MUST NOT be present (SSF 1.0 §4.1.2). - SIG-5.6 The
expclaim MUST NOT be present (SSF 1.0 §4.1.7). This is the exception CORE-6.3 names; freshness comes from the maximum age in SIG-5.11. - SIG-5.7
eventsMUST contain exactly one member. RFC 8417 §2.2 allows several and SSF 1.0 §4.2.1 says SHOULD be one; OCI makes it MUST (OCI extension). The member name is the event type URI and the value is a JSON object. - SIG-5.8 Transmitters SHOULD set
txn, unique to the underlying event, and a relay MUST keep it (SSF 1.0 §4.1.9).toe, if present, MUST be a NumericDate. - SIG-5.9
jtiMUST be unique per issuer. Transmitters SHOULD use a random UUIDv4. - SIG-5.10
issMUST equal the transmitter’sissuer(SSF 1.0 §4.1.6) and the stream’siss. - SIG-5.11 Times are NumericDate (CORE-6.1). Receivers MUST reject an
iatlater than now plus the skew (CORE-6.2, at most 60 seconds). Receivers MUST reject aniatolder than a maximum age, 7 days by default and never more than 7 days.
Worked example. JWS header:
{ "alg": "ES256", "kid": "mQ4sT1z0cV8pYb3rLw7uXg", "typ": "secevent+jwt" }
Payload (a resident was deactivated; receiver is a tax service):
{
"iss": "https://id.home.example",
"aud": "https://tax.home.example",
"iat": 1795003200,
"jti": "5c1d1f2e-6a53-4c58-9f0a-0d6e2a7b9f41",
"txn": "9b2e7a40-1c3f-4d21-8a55-6f7c0e1d3b92",
"sub_id": { "format": "iss_sub", "iss": "https://id.home.example", "sub": "pw-7f3a9c" },
"events": {
"https://schemas.openid.net/secevent/risc/event-type/account-disabled": {}
}
}
An identity merge:
{
"iss": "https://id.home.example",
"aud": "https://tax.home.example",
"iat": 1795003260,
"jti": "e7d0b3a1-2f64-4b8e-a1c2-5d9f8e7a6b30",
"sub_id": { "format": "iss_sub", "iss": "https://id.home.example", "sub": "pw-7f3a9c" },
"events": {
"https://oci.world/events/identity-merged": {
"surviving_sub_id": { "format": "iss_sub", "iss": "https://id.home.example", "sub": "pw-b81e04" },
"event_timestamp": 1795003255
}
}
}
6. Event types
- SIG-6.1 CAEP and RISC event types are reused with exactly the members those specs define. This table lists the ones OCI allows.
- SIG-6.2 (OCI extension) OCI defines its own event types, under
https://oci.world/events/, for needs CAEP 1.0 and RISC 1.0 do not cover. They are the rows marked OCI in the table below. An OCI event type exists only once it is in that table, with its URI, members and transmitter roles. It is added by a change to this section, made for OCI-7 or for another OCI spec that needs it (OCI-CONSENT-1 addedconsent-pausedandconsent-resumed). No other event type is allowed in 0.1, and no party may send an event type that is not in the table. In particular, CAEPtoken-claims-changeis excluded, because itsclaimsmember would carry personal data, and RISCsessions-revokedis deprecated in favour of CAEPsession-revoked. - SIG-6.3 An event’s members MUST be among those listed for its type. A receiver MUST reject an event with any other member (OCI extension; keeps personal data out). Further members need a new OCI event type.
- SIG-6.4
verificationandstream-updatedevents MUST use anopaquesub_idwhoseidis thestream_id(SSF 1.0 §8.1.4.1, §8.1.5). - SIG-6.5
resident-deceasedcarries noreason_adminorreason_user, and no date or cause of death. Free text MUST NOT carry personal data in any event. - SIG-6.6 A receiver MUST NOT process an event type its stream did not request in
events_requested. It SHOULD still acknowledge the SET (RFC 8935 §2.2, RFC 8936 §2) so it is not redelivered.
| What happened | Event type URI | Source | Required members | Optional members | Transmitter roles (SIG-3.2) |
|---|---|---|---|---|---|
| Credential or ID revoked | https://schemas.openid.net/secevent/caep/event-type/credential-change | CAEP §3.3 | credential_type, change_type (create, revoke, update, delete) | friendly_name, x509_issuer, x509_serial, fido2_aaguid, event_timestamp, initiating_entity, reason_admin, reason_user | any transmitter role |
| Key or credential compromised | https://schemas.openid.net/secevent/risc/event-type/credential-compromise | RISC §2.7 | credential_type | event_timestamp, reason_admin, reason_user | any transmitter role |
| Session revoked | https://schemas.openid.net/secevent/caep/event-type/session-revoked | CAEP §3.1 | none | event_timestamp, initiating_entity, reason_admin, reason_user | identity_provider |
| Assurance level changed | https://schemas.openid.net/secevent/caep/event-type/assurance-level-change | CAEP §3.4 | namespace, current_level | previous_level, change_direction, common claims | registrar, identity_provider |
| Resident deactivated | https://schemas.openid.net/secevent/risc/event-type/account-disabled | RISC §2.3 | none | reason (hijacking, bulk-account) | registrar, identity_provider, credential_issuer |
| Resident reactivated | https://schemas.openid.net/secevent/risc/event-type/account-enabled | RISC §2.4 | none | none | same |
| Resident record erased | https://schemas.openid.net/secevent/risc/event-type/account-purged | RISC §2.2 | none | none | same |
| Re-authentication needed | https://schemas.openid.net/secevent/risc/event-type/account-credential-change-required | RISC §2.1 | none | none | same |
| Stream verification | https://schemas.openid.net/secevent/ssf/event-type/verification | SSF §8.1.4.1 | none | state | any transmitter role, data_holder, consent_manager |
| Stream status changed | https://schemas.openid.net/secevent/ssf/event-type/stream-updated | SSF §8.1.5 | status (enabled, paused, disabled) | reason | any transmitter role, data_holder, consent_manager |
| Resident deceased | https://oci.world/events/resident-deceased | OCI | none | event_timestamp (when the registrar recorded it) | registrar, identity_provider, credential_issuer |
| Identity merged | https://oci.world/events/identity-merged | OCI | surviving_sub_id (iss_sub or opaque, not equal to sub_id) | event_timestamp | same |
| Consent withdrawn | https://oci.world/events/consent-withdrawn | OCI | receipt_id (the OCI-5 receipt, string) | event_timestamp, initiating_entity | identity_provider, registrar, data_holder, consent_manager |
| Consent paused | https://oci.world/events/consent-paused | OCI (OCI-CONSENT-1) | receipt_id (the OCI-5 receipt, string) | event_timestamp, initiating_entity | data_holder, consent_manager |
| Consent resumed | https://oci.world/events/consent-resumed | OCI (OCI-CONSENT-1) | receipt_id (the OCI-5 receipt, string) | event_timestamp, initiating_entity | data_holder, consent_manager |
“Any transmitter role” is registrar, identity_provider, credential_issuer or wallet_provider. A data_holder or consent_manager (OCI-CONSENT-1) sends only the consent events and the stream events. Role names are the OCI-1 trust mark types under https://oci.world/tm/role/. Every transmitter also needs signal_transmitter (SIG-3.7).
- SIG-6.7
credential_typevalues come from CAEP §3.3 (password,pin,x509,fido2-platform,fido2-roaming,fido-u2f,verifiable-credential,phone-voice,phone-sms,app). OCI credentials (OCI-4) useverifiable-credential. - SIG-6.8 (OCI extension) For
assurance-level-change,namespaceMAY beoci-loa, a custom alias CAEP §3.4 allows if both parties agree. Levels are thenlow,substantialorhigh(CORE-4), andchange_direction, if present, MUST match the order ofprevious_levelandcurrent_level. Other namespaces areRFC8176,RFC6711,ISO-IEC-29115,NIST-IAL,NIST-AALandNIST-FAL. - SIG-6.9
identity-merged:sub_idis the identifier that no longer exists.surviving_sub_idis the identifier for the same receiver that replaces it. A transmitter MUST send it only to a receiver that already holds the old identifier (SIG-4.6), so it reveals nothing new about who the resident is.
What a receiver does is local policy, with these minimums:
- SIG-6.10 On
resident-deceased,account-disabled,account-purgedoridentity-merged, a receiver MUST end sessions and refuse new logins for the subject until the event is reversed or, for a merge, re-linked tosurviving_sub_id. Onconsent-withdrawn, it MUST stop the processing the receipt covered. Oncredential-changewithrevokeordelete, and oncredential-compromise, a credential issuer MUST update credential status (OCI-4 status list) and a wallet provider MUST treat the credential as unusable. - SIG-6.11 (OCI extension)
consent-pausedandconsent-resumedsay that an OCI-5 receipt was paused or resumed (CR-6.7 to CR-6.9).receipt_idis the receipt’sjti, andinitiating_entityis the CAEP value for who acted (CDA-12.5 says which). The party that recorded the change sends them (CDA-12.6). A pause is not a withdrawal: a receiver MUST NOT treatconsent-pausedasconsent-withdrawn, and aconsent-resumedMUST NOT undo a withdrawal. Onconsent-pauseda receiver MUST stop using the receipt to get data until it learns the receipt isactiveagain. Delivery is unordered (SIG-7.4), so a receiver that gets both events SHOULD read the receipt’s status (CR-6.5) before it acts on aconsent-resumed.
7. Delivery
- SIG-7.1 Push: the transmitter sends
POSTwithContent-Type: application/secevent+jwtandAccept: application/json(RFC 8935 §2.1). The receiver answers202 Acceptedwith an empty body, or400with JSONerranddescription(RFC 8935 §2.2, §2.3).erris one ofinvalid_request,invalid_key,invalid_issuer,invalid_audience,authentication_failed,access_denied. - SIG-7.2 Poll: the receiver sends
POSTwith JSONmaxEvents,returnImmediately,ackandsetErrs. The response holdssets(keys arejti, values are SETs) andmoreAvailable(RFC 8936 §2.2, §2.3). Invalid SETs are reported insetErrswitherranddescription. The poll endpoint MUST be protected by the stream’s authorization scheme (SSF 1.0 §7.1.1). - SIG-7.3 A receiver validates (§8) and persists the SET, then answers. It does the work of acting on it afterwards, not before answering (RFC 8935 §2).
- SIG-7.4 Delivery is at least once and unordered. Receivers MUST be idempotent: acting on the same event twice has the same effect as once.
- SIG-7.5 Transmitters SHOULD NOT send a SET older than 7 days. When a stream is
paused, held SETs older than that are dropped and the transmitter SHOULD sendstream-updated.
8. Receiver validation
In order. A failed step rejects the SET and stops.
- SIG-8.1 Check
typ,algandkid(SIG-5.1, SIG-5.2). Verify the signature with keys from the OCI-1 chain ofiss(SIG-3.3). - SIG-8.2 Check that
subandexpare absent,issequals the transmitter, andaudis this receiver (SIG-5.4 to SIG-5.6, SIG-5.10). - SIG-8.3 Check
iatagainst skew and maximum age (SIG-5.11). - SIG-8.4 Check
sub_id(§4), the single event (SIG-5.7), its type and members (§6), and that the type was requested (SIG-6.6). - SIG-8.5 Check the transmitter’s role for the event type (SIG-3.2).
- SIG-8.6 Check replay (§9).
9. Replay protection
- SIG-9.1 A receiver MUST remember
issandjtiof every SET it accepted for at least the maximum age plus the skew, and MUST reject a SET whose pair is already remembered. It MUST record the pair only after every other check has passed, so an invalid SET cannot block a later valid one. - SIG-9.2 A SET rejected as a replay MUST NOT be acted on again. Over poll and push, a transmitter retries unacknowledged SETs, so the receiver SHOULD still acknowledge it (RFC 8936 §2) and not report an error.
- SIG-9.3 The
jtistore MUST be shared by every receiver instance behind oneaud, andclaimMUST be atomic.
10. Security and privacy
- SIG-10.1 SETs, subjects and events MUST NOT contain a national ID number, VID, biometric data, date of birth, name, address or any claim covered by OCI-3 (CORE-7.3). OCI-8 says the same for biometrics.
- SIG-10.2 Pairwise subjects (SIG-4.3) mean two receivers cannot match events about the same resident. A transmitter that gives one receiver both an old and a new identifier (SIG-6.9) is the only case where a receiver learns a link.
- SIG-10.3 RFC 8417 §5.1 requires JWE encryption when events pass through third parties or carry personal data. OCI events carry none, and OCI requires direct TLS 1.2 or later between transmitter and receiver. A deployment that routes SETs through any intermediary MUST encrypt them; 0.1 defines no JWE profile (open question 4).
- SIG-10.4 Event existence is sensitive:
resident-deceasedandaccount-disabledreveal a life event. A transmitter MUST send them only to receivers with a lawful, recorded reason, per the country’s policy (open question 5). - SIG-10.5 A malicious or stolen transmitter key can falsely revoke or restore. Keys follow CORE-5.5 and CORE-5.6. Receivers SHOULD alert when one transmitter sends an unusual number of events.
- SIG-10.6 Fetchers for transmitter metadata and keys follow TR-7.
- SIG-10.7 The transmitter-role check (SIG-3.2) is a required verifier option (
issuerRoles). A receiver that deliberately does not enforce it MUST pass'unchecked'explicitly.
11. Conformance
An implementation conforms to OCI-7 0.1 when it passes every test in packages/signals/test tagged with a SIG clause. The library checks: SIG-3.2, SIG-3.7, SIG-4.1 to SIG-4.5, SIG-5.1 to SIG-5.11, SIG-6.1 to SIG-6.6, the members and transmitter roles of SIG-6.11, and SIG-9.1. These need a live endpoint and are tested by the OCI conformance suite, not the library: SIG-3.1, SIG-3.3 to SIG-3.6, SIG-4.3 (pairwise derivation), SIG-4.6, SIG-6.10, SIG-7, SIG-9.3, SIG-10.
12. Open questions
- OCI-1 §4 must add the
signal_transmitterrole mark (SIG-3.7). Theoci_jwksparameter (SIG-3.3) is an OCI choice; OCI-1 should define it once for OCI-4 and OCI-7. - Resolved: CORE-6.3 now exempts SETs from
exp(SIG-5.6, SIG-5.11). - The meaning of
default_subjectsALLfor a stream whose subjects are implicit (SIG-3.5) is not defined in the SSF text I read. Confirm with the Final text or conformance behaviour. - A JWE profile for SETs sent through intermediaries (algorithms, key discovery).
- Which receivers may get
resident-deceased, and under what legal basis? This is country policy, not protocol. - Resolved:
receipt_idinconsent-withdrawnis the OCI-5 receipt’sjti, as in CR-6.1. - Naming a single credential among several for one resident (CAEP
credential-changehas no credential id). Options: a complex subject, or an OCI member. - Should the maximum SET age be longer than 7 days for receivers that poll rarely?
- SSF 1.0 does not specify how receivers authenticate to the configuration endpoint beyond
authorization_schemes. OCI-2’s FAPI 2.0 client authentication is the likely answer.
Changes
| Version | Date | What changed |
|---|---|---|
| 0.1.0 | 2026-11-28 | First versioned release: the text of Draft 0.1 (2026-11-18). For OCI-CONSENT-1: data_holder and consent_manager as transmitters of consent-withdrawn and the stream events, and as receivers (SIG-3.2); the consent-paused and consent-resumed events (SIG-6.11); SIG-6.2 now lets an OCI spec add an event type to the §6 table, and no other way. |