You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: draft-ietf-oauth-status-list.md
+2-7Lines changed: 2 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,6 @@ The following content applies to the JWT Header:
258
258
259
259
The following content applies to the JWT Claims Set:
260
260
261
-
* `iss`: REQUIRED when also present in the Referenced Token. The `iss` (issuer) claim MUST specify a unique string identifier for the entity that issued the Status List Token. In the absence of an application profile specifying otherwise, compliant applications MUST compare issuer values using the Simple String Comparison method defined in Section 6.2.1 of {{RFC3986}}. The value MUST be equal to that of the `iss` claim contained within the Referenced Token.
262
261
* `sub`: REQUIRED. The `sub` (subject) claim MUST specify the URI of the Status List Token. The value MUST be equal to that of the `uri` claim contained in the `status_list` claim of the Referenced Token.
263
262
* `iat`: REQUIRED. The `iat` (issued at) claim MUST specify the time at which the Status List Token was issued.
264
263
* `exp`: OPTIONAL. The `exp` (expiration time) claim, if present, MUST specify the time at which the Status List Token is considered expired by its issuer.
@@ -291,7 +290,6 @@ The following content applies to the CWT protected header:
291
290
292
291
The following content applies to the CWT Claims Set:
293
292
294
-
* `1` (issuer): REQUIRED. Same definition as `iss` claim in [](#status-list-token-jwt).
295
293
* `2` (subject): REQUIRED. Same definition as `sub` claim in [](#status-list-token-jwt).
296
294
* `6` (issued at): REQUIRED. Same definition as `iat` claim in [](#status-list-token-jwt).
297
295
* `4` (expiration time): OPTIONAL. Same definition as `exp` claim in [](#status-list-token-jwt).
@@ -332,7 +330,6 @@ The Referenced Token MAY be encoded as a "JSON Web Token (JWT)" according to {{R
332
330
333
331
The following content applies to the JWT Claims Set:
334
332
335
-
* `iss`: REQUIRED when also present in the Status List Token. The `iss` (issuer) claim MUST specify a unique string identifier for the entity that issued the Referenced Token. In the absence of an application profile specifying otherwise, compliant applications MUST compare issuer values using the Simple String Comparison method defined in Section 6.2.1 of {{RFC3986}}. The value MUST be equal to that of the `iss` claim contained within the referenced Status List Token.
336
333
* `status`: REQUIRED. The `status` (status) claim MUST specify a JSON Object that contains at least one reference to a status mechanism.
337
334
* `status_list`: REQUIRED when the status list mechanism defined in this specification is used. It contains a reference to a Status List or Status List Token. It MUST at least contain the following claims:
338
335
* `idx`: REQUIRED. The `idx` (index) claim MUST specify an Integer that represents the index to check for status information in the Status List for the current Referenced Token. The value of `idx` MUST be a non-negative number, containing a value of zero or greater.
@@ -350,7 +347,6 @@ The following is a non-normative example for a decoded header and payload of a R
350
347
}
351
348
.
352
349
{
353
-
"iss": "https://example.com",
354
350
"status": {
355
351
"status_list": {
356
352
"idx": 0,
@@ -413,7 +409,6 @@ The Referenced Token MUST be encoded as a "COSE Web Token (CWT)" object accordin
413
409
414
410
The following content applies to the CWT Claims Set:
415
411
416
-
* `1` (issuer): REQUIRED when also present in the Referenced Token. Same definition as `iss` claim in [](#referenced-token-jwt).
417
412
* `65535` (status): REQUIRED. The status claim is encoded as a `Status` CBOR structure and MUST include at least one data item that refers to a status mechanism. Each data item in the `Status` CBOR structure comprises a key-value pair, where the key must be a CBOR text string (Major Type 3) specifying the identifier of the status mechanism, and the corresponding value defines its contents. This specification defines the following data items:
418
413
* `status_list` (status list): REQUIRED when the status list mechanism defined in this specification is used. It has the same definition as the `status_list` claim in [](#referenced-token-jwt) but MUST be encoded as a `StatusListInfo` CBOR structure with the following fields:
419
414
* `idx`: REQUIRED. Same definition as `idx` claim in [](#referenced-token-jwt).
@@ -519,8 +514,7 @@ If this validation was not successful, the Referenced Token MUST be rejected. If
519
514
1. The subject claim (`sub` or `2`) of the Status List Token MUST be equal to the `uri` claim in the `status_list` object of the Referenced Token
520
515
2. If the Relying Party has custom policies regarding the freshness of the Status List Token, it SHOULD check the issued at claim (`iat` or `6`)
521
516
3. If expiration time is defined (`exp` or `4`), it MUST be checked if the Status List Token is expired
522
-
4. If the Referenced Token contains an issuer claim, the Status List Token MUST contain the same issuer claim (`iss` or `1`)
523
-
5. If the Relying Party is using a system for caching the Status List Token, it SHOULD check the `ttl` claim of the Status List Token and retrieve a fresh copy if (time status was resolved + ttl < current time)
517
+
4. If the Relying Party is using a system for caching the Status List Token, it SHOULD check the `ttl` claim of the Status List Token and retrieve a fresh copy if (time status was resolved + ttl < current time)
524
518
5. Decompress the Status List with a decompressor that is compatible with DEFLATE {{RFC1951}} and ZLIB {{RFC1950}}
525
519
6. Retrieve the status value of the index specified in the Referenced Token as described in [](#status-list). Fail if the provided index is out of bound of the status list
526
520
7. Check the status value as described in [](#status-types)
@@ -915,6 +909,7 @@ for their valuable contributions, discussions and feedback to this specification
915
909
916
910
-04
917
911
912
+
* remove requirement for matching iss claim in Referenced Token and Status List Token
0 commit comments