@@ -902,7 +902,9 @@ In order to communicate events from a Transmitter to a Receiver, a Receiver
902
902
MUST first create an Event Stream. An Event Receiver creates a stream by making
903
903
an HTTP POST request to the Configuration Endpoint. On receiving a valid request
904
904
the Event Transmitter responds with a "201 Created" response containing a
905
- [JSON][RFC7159] representation of the stream’s configuration in the body.
905
+ [JSON][RFC7159] representation of the stream’s configuration in the body. The Receiver
906
+ MUST check the response and confirm that the `iss` value matches the Issuer from
907
+ which it received the Transmitter Configuration data.
906
908
907
909
If a stream already exists, and the Transmitter allows multiple streams with the
908
910
same Receiver, the Event Transmitter MUST respond with a new stream ID. If the
@@ -997,7 +999,9 @@ Errors are signaled with HTTP status codes as follows:
997
999
An Event Receiver gets the current configuration of a stream by making an HTTP
998
1000
GET request to the Configuration Endpoint. On receiving a valid request, the
999
1001
Event Transmitter responds with a "200 OK" response containing a [JSON][RFC7159]
1000
- representation of the stream’s configuration in the body.
1002
+ representation of the stream’s configuration in the body. The Receiver
1003
+ MUST check the response and confirm that the `iss` value matches the Issuer from
1004
+ which it received the Transmitter Configuration data.
1001
1005
1002
1006
The GET request MAY include the "stream_id" as a query parameter in order to
1003
1007
identify the correct Event Stream. If the "stream_id" parameter is missing,
@@ -1194,7 +1198,8 @@ HTTP PATCH request to the Configuration Endpoint. The PATCH body contains a
1194
1198
[JSON][RFC7159] representation of the stream configuration properties to change. On
1195
1199
receiving a valid request, the Event Transmitter responds with a "200 OK"
1196
1200
response containing a [JSON][RFC7159] representation of the entire updated stream
1197
- configuration in the body.
1201
+ configuration in the body. The Receiver MUST check the response and confirm that the
1202
+ ` iss` value matches the Issuer from which it received the Transmitter Configuration data.
1198
1203
1199
1204
The stream_id property MUST be present in the request. Other properties
1200
1205
MAY be present in the request. Any Receiver-Supplied property present in the
@@ -1282,6 +1287,8 @@ HTTP PUT request to the Configuration Endpoint. The PUT body contains a JSON
1282
1287
{{RFC7159}} representation of the new configuration. On receiving a valid
1283
1288
request, the Event Transmitter responds with a "200 OK" response containing a
1284
1289
JSON {{RFC7159}} representation of the updated stream configuration in the body.
1290
+ The Receiver MUST check the response and confirm that the `iss` value matches the
1291
+ Issuer from which it received the Transmitter Configuration data.
1285
1292
1286
1293
The stream_id and the full set of Receiver-Supplied properties MUST be present
1287
1294
in the PUT body, not only those specifically intended to be changed.
@@ -2081,6 +2088,12 @@ Sections 4.5, 4.6 and 4.7 of {{RFC8417}}. While current Id Token {{OpenID.Core}}
2081
2088
validators may not be using the "typ" header parameter, requiring it for SSF
2082
2089
SETs guarantees a distinct value for future validators.
2083
2090
2091
+ # # The "iss" Claim {#iss-claim}
2092
+ The "iss" claim MUST match the "iss" value in the Stream Configuration data for the stream
2093
+ that the event is sent on. Receivers MUST validate that this claim matches the "iss"
2094
+ in the Stream Configuration data, as well as the Issuer from which the Receiver requested
2095
+ the Transmitter Configuration data.
2096
+
2084
2097
# ## The "exp" Claim {#exp-claim}
2085
2098
The "exp" claim MUST NOT be used in SSF SETs.
2086
2099
0 commit comments