← Specifications

OCI-7 Signals

Version 0.1.0 · 2026-11-28 · Draft Changes
StatusDraft.
Version0.1.0, 2026-11-28
Profile ofOpenID 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 onOCI-0 Core, OCI-1 Trust Registry
Used byOCI-2 ID Auth, OCI-3 KYC, OCI-4 Credentials, OCI-5 Consent Receipt, OCI-CONSENT-1 Consented Data Access
Reference implementationpackages/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:

  1. A few event types CAEP and RISC do not have (§6).
  2. Pairwise subjects, so an event never carries a national ID number (§4).
  3. Discovery and authorisation through OCI-1 (§3).
  4. 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

TermMeaning
TransmitterSends events. In OCI: a registrar, identity provider, credential issuer or wallet provider, and for consent events a data holder or consent manager (§3, §6).
ReceiverReceives events on a stream. In OCI: a relying party (including a data user), identity provider, credential issuer, wallet provider, data holder or consent manager.
StreamOne configured channel from one transmitter to one receiver (SSF 1.0 §8.1).
SubjectThe 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 issuer MUST be its OCI entity identifier (CORE-3.1). Its transmitter metadata is served at /.well-known/ssf-configuration inserted between the host and any path of the identifier (SSF 1.0 §7.2). It MUST set spec_version to 1_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_holder or consent_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 forbids jwks, jwks_uri and signed_jwks_uri in federation_entity metadata, so OCI uses its own parameter, as TR-2.1 does for oci_country. Receivers MUST verify SETs only with keys from a resolved OCI-1 chain. They MUST NOT take keys from SSF jwks_uri. Federation Entity Keys (the top-level jwks) 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_endpoint or remove_subject_endpoint: the subjects of a stream are fixed by §4 (SIG-4.6). It SHOULD set default_subjects to ALL, meaning all subjects of SIG-4.6 (open question 3).
  • SIG-3.6 Push endpoint_url MUST be https (RFC 8935 §5.3). A receiver SHOULD supply authorization_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_id claim (SSF 1.0 §3.1).
  • SIG-4.2 OCI uses three RFC 9493 / SSF formats only: iss_sub (members iss, sub), opaque (member id), and complex (SSF 1.0 §3.3) whose members are user, device, session, application, tenant, org_unit or group, each an iss_sub or opaque. Complex subjects MUST NOT nest and MUST NOT have members outside that list.
  • SIG-4.3 For a resident, the subject MUST be iss_sub where sub is 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, uri and aliases MUST NOT be used (RFC 9493 §6.1: they let receivers correlate residents). Receivers MUST reject them.
  • SIG-4.5 Events MUST NOT carry a subject member. 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 value application/secevent+jwt is the media type of the HTTP body (RFC 8935 §2.1), not a typ, and MUST be rejected there.
  • SIG-5.2 alg MUST be ES256 or PS256, and the header MUST carry kid (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 makes aud only RECOMMENDED; OCI requires it (OCI extension).
  • SIG-5.4 aud MUST be a single string, the receiver’s OCI entity identifier (SSF 1.0 §4.1.8 warns that several receivers in aud can disclose data). A receiver MUST reject any other aud, including an array.
  • SIG-5.5 The sub claim MUST NOT be present (SSF 1.0 §4.1.2).
  • SIG-5.6 The exp claim 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 events MUST 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 jti MUST be unique per issuer. Transmitters SHOULD use a random UUIDv4.
  • SIG-5.10 iss MUST equal the transmitter’s issuer (SSF 1.0 §4.1.6) and the stream’s iss.
  • SIG-5.11 Times are NumericDate (CORE-6.1). Receivers MUST reject an iat later than now plus the skew (CORE-6.2, at most 60 seconds). Receivers MUST reject an iat older 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 added consent-paused and consent-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, CAEP token-claims-change is excluded, because its claims member would carry personal data, and RISC sessions-revoked is deprecated in favour of CAEP session-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 verification and stream-updated events MUST use an opaque sub_id whose id is the stream_id (SSF 1.0 §8.1.4.1, §8.1.5).
  • SIG-6.5 resident-deceased carries no reason_admin or reason_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 happenedEvent type URISourceRequired membersOptional membersTransmitter roles (SIG-3.2)
Credential or ID revokedhttps://schemas.openid.net/secevent/caep/event-type/credential-changeCAEP §3.3credential_type, change_type (create, revoke, update, delete)friendly_name, x509_issuer, x509_serial, fido2_aaguid, event_timestamp, initiating_entity, reason_admin, reason_userany transmitter role
Key or credential compromisedhttps://schemas.openid.net/secevent/risc/event-type/credential-compromiseRISC §2.7credential_typeevent_timestamp, reason_admin, reason_userany transmitter role
Session revokedhttps://schemas.openid.net/secevent/caep/event-type/session-revokedCAEP §3.1noneevent_timestamp, initiating_entity, reason_admin, reason_useridentity_provider
Assurance level changedhttps://schemas.openid.net/secevent/caep/event-type/assurance-level-changeCAEP §3.4namespace, current_levelprevious_level, change_direction, common claimsregistrar, identity_provider
Resident deactivatedhttps://schemas.openid.net/secevent/risc/event-type/account-disabledRISC §2.3nonereason (hijacking, bulk-account)registrar, identity_provider, credential_issuer
Resident reactivatedhttps://schemas.openid.net/secevent/risc/event-type/account-enabledRISC §2.4nonenonesame
Resident record erasedhttps://schemas.openid.net/secevent/risc/event-type/account-purgedRISC §2.2nonenonesame
Re-authentication neededhttps://schemas.openid.net/secevent/risc/event-type/account-credential-change-requiredRISC §2.1nonenonesame
Stream verificationhttps://schemas.openid.net/secevent/ssf/event-type/verificationSSF §8.1.4.1nonestateany transmitter role, data_holder, consent_manager
Stream status changedhttps://schemas.openid.net/secevent/ssf/event-type/stream-updatedSSF §8.1.5status (enabled, paused, disabled)reasonany transmitter role, data_holder, consent_manager
Resident deceasedhttps://oci.world/events/resident-deceasedOCInoneevent_timestamp (when the registrar recorded it)registrar, identity_provider, credential_issuer
Identity mergedhttps://oci.world/events/identity-mergedOCIsurviving_sub_id (iss_sub or opaque, not equal to sub_id)event_timestampsame
Consent withdrawnhttps://oci.world/events/consent-withdrawnOCIreceipt_id (the OCI-5 receipt, string)event_timestamp, initiating_entityidentity_provider, registrar, data_holder, consent_manager
Consent pausedhttps://oci.world/events/consent-pausedOCI (OCI-CONSENT-1)receipt_id (the OCI-5 receipt, string)event_timestamp, initiating_entitydata_holder, consent_manager
Consent resumedhttps://oci.world/events/consent-resumedOCI (OCI-CONSENT-1)receipt_id (the OCI-5 receipt, string)event_timestamp, initiating_entitydata_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_type values 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) use verifiable-credential.
  • SIG-6.8 (OCI extension) For assurance-level-change, namespace MAY be oci-loa, a custom alias CAEP §3.4 allows if both parties agree. Levels are then low, substantial or high (CORE-4), and change_direction, if present, MUST match the order of previous_level and current_level. Other namespaces are RFC8176, RFC6711, ISO-IEC-29115, NIST-IAL, NIST-AAL and NIST-FAL.
  • SIG-6.9 identity-merged: sub_id is the identifier that no longer exists. surviving_sub_id is 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-purged or identity-merged, a receiver MUST end sessions and refuse new logins for the subject until the event is reversed or, for a merge, re-linked to surviving_sub_id. On consent-withdrawn, it MUST stop the processing the receipt covered. On credential-change with revoke or delete, and on credential-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-paused and consent-resumed say that an OCI-5 receipt was paused or resumed (CR-6.7 to CR-6.9). receipt_id is the receipt’s jti, and initiating_entity is 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 treat consent-paused as consent-withdrawn, and a consent-resumed MUST NOT undo a withdrawal. On consent-paused a receiver MUST stop using the receipt to get data until it learns the receipt is active again. 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 a consent-resumed.

7. Delivery

  • SIG-7.1 Push: the transmitter sends POST with Content-Type: application/secevent+jwt and Accept: application/json (RFC 8935 §2.1). The receiver answers 202 Accepted with an empty body, or 400 with JSON err and description (RFC 8935 §2.2, §2.3). err is one of invalid_request, invalid_key, invalid_issuer, invalid_audience, authentication_failed, access_denied.
  • SIG-7.2 Poll: the receiver sends POST with JSON maxEvents, returnImmediately, ack and setErrs. The response holds sets (keys are jti, values are SETs) and moreAvailable (RFC 8936 §2.2, §2.3). Invalid SETs are reported in setErrs with err and description. 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 send stream-updated.

8. Receiver validation

In order. A failed step rejects the SET and stops.

  • SIG-8.1 Check typ, alg and kid (SIG-5.1, SIG-5.2). Verify the signature with keys from the OCI-1 chain of iss (SIG-3.3).
  • SIG-8.2 Check that sub and exp are absent, iss equals the transmitter, and aud is this receiver (SIG-5.4 to SIG-5.6, SIG-5.10).
  • SIG-8.3 Check iat against 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 iss and jti of 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 jti store MUST be shared by every receiver instance behind one aud, and claim MUST 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-deceased and account-disabled reveal 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

  1. OCI-1 §4 must add the signal_transmitter role mark (SIG-3.7). The oci_jwks parameter (SIG-3.3) is an OCI choice; OCI-1 should define it once for OCI-4 and OCI-7.
  2. Resolved: CORE-6.3 now exempts SETs from exp (SIG-5.6, SIG-5.11).
  3. The meaning of default_subjects ALL for 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.
  4. A JWE profile for SETs sent through intermediaries (algorithms, key discovery).
  5. Which receivers may get resident-deceased, and under what legal basis? This is country policy, not protocol.
  6. Resolved: receipt_id in consent-withdrawn is the OCI-5 receipt’s jti, as in CR-6.1.
  7. Naming a single credential among several for one resident (CAEP credential-change has no credential id). Options: a complex subject, or an OCI member.
  8. Should the maximum SET age be longer than 7 days for receivers that poll rarely?
  9. 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

VersionDateWhat changed
0.1.02026-11-28First 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.