@@ -927,7 +927,9 @@ In order to communicate events from a Transmitter to a Receiver, a Receiver
927
927
MUST first create an Event Stream. An Event Receiver creates a stream by making
928
928
an HTTP POST request to the Configuration Endpoint. On receiving a valid request
929
929
the Event Transmitter responds with a "201 Created" response containing a
930
- [JSON][RFC7159] representation of the stream’s configuration in the body.
930
+ [JSON][RFC7159] representation of the stream’s configuration in the body. The Receiver
931
+ SHOULD check the response and confirm that the `iss` value matches the Issuer from
932
+ which it received the Transmitter Configuration data.
931
933
932
934
If a stream already exists, and the Transmitter allows multiple streams with the
933
935
same Receiver, the Event Transmitter MUST respond with a new stream ID. If the
@@ -1022,7 +1024,9 @@ Errors are signaled with HTTP status codes as follows:
1022
1024
An Event Receiver gets the current configuration of a stream by making an HTTP
1023
1025
GET request to the Configuration Endpoint. On receiving a valid request, the
1024
1026
Event Transmitter responds with a "200 OK" response containing a [JSON][RFC7159]
1025
- representation of the stream’s configuration in the body.
1027
+ representation of the stream’s configuration in the body. The Receiver
1028
+ SHOULD check the response and confirm that the `iss` value matches the Issuer from
1029
+ which it received the Transmitter Configuration data.
1026
1030
1027
1031
The GET request MAY include the "stream_id" as a query parameter in order to
1028
1032
identify the correct Event Stream. If the "stream_id" parameter is missing,
@@ -1219,7 +1223,8 @@ HTTP PATCH request to the Configuration Endpoint. The PATCH body contains a
1219
1223
[JSON][RFC7159] representation of the stream configuration properties to change. On
1220
1224
receiving a valid request, the Event Transmitter responds with a "200 OK"
1221
1225
response containing a [JSON][RFC7159] representation of the entire updated stream
1222
- configuration in the body.
1226
+ configuration in the body. The Receiver SHOULD check the response and confirm that the
1227
+ ` iss` value matches the Issuer from which it received the Transmitter Configuration data.
1223
1228
1224
1229
The stream_id property MUST be present in the request. Other properties
1225
1230
MAY be present in the request. Any Receiver-Supplied property present in the
@@ -1307,6 +1312,8 @@ HTTP PUT request to the Configuration Endpoint. The PUT body contains a JSON
1307
1312
{{RFC7159}} representation of the new configuration. On receiving a valid
1308
1313
request, the Event Transmitter responds with a "200 OK" response containing a
1309
1314
JSON {{RFC7159}} representation of the updated stream configuration in the body.
1315
+ The Receiver SHOULD check the response and confirm that the `iss` value matches the
1316
+ Issuer from which it received the Transmitter Configuration data.
1310
1317
1311
1318
The stream_id and the full set of Receiver-Supplied properties MUST be present
1312
1319
in the PUT body, not only those specifically intended to be changed.
0 commit comments