-
Notifications
You must be signed in to change notification settings - Fork 19
Description
In section 6 "Transmitter Configuration Discovery", it would be helpful to have the events_supported field from the "Stream Transmitter Configuration" present to allow supported event discovery from a receiver application. This would prevent errors during integration between a receiver and transmitter as it would be provide a standardized way to getting the list of events its possible to receive.
Under section 6.1, add
events_supportedOPTIONAL. An array of URIs identifying the set of events supported by the Transmitter for a Receiver. If omitted, Event Transmitters SHOULD make this set available to the Event Receiver via some other means (e.g. publishing it in online documentation).
This will also assist in the Receiver generating the events_requested as it "A Receiver SHOULD request only the events that it understands and it can act on."
Example: GET https://ssf.example.com/.well-known/ssf-configuration
"spec_version": "1_0-ID3",
"issuer": "https://ssf.example.com/",
"jwks_uri": "https://ssf.example.com/.well-known/jwks.json",
"delivery_methods_supported": [
"urn:ietf:rfc:8936"
],
"events_supported": [
"https://schemas.openid.net/secevent/ssf/event-type/stream-updated",
"https://schemas.openid.net/secevent/ssf/event-type/verification",
"https://schemas.openid.net/secevent/caep/event-type/session-revoked",
...
"https://schemas.openid.net/secevent/risc/event-type/credential-compromise",
"https://schemas.openid.net/secevent/risc/event-type/opt-in",
"https://schemas.openid.net/secevent/risc/event-type/opt-out-initiated",
"https://schemas.openid.net/secevent/risc/event-type/sessions-revoked"
]
}