Skip to content

Commit 9459928

Browse files
authored
Merge pull request #263 from oauth-wg/262-cwt-typ
fix cwt typ to use full media type
2 parents 8dc4f7e + 6e75d26 commit 9459928

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

draft-ietf-oauth-status-list.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ The Status List Token MUST be encoded as a "CBOR Web Token (CWT)" according to {
416416

417417
The following content applies to the protected header of the CWT:
418418

419-
* `16` (type): REQUIRED. The type of the CWT MUST be `statuslist+cwt` as defined in {{RFC9596}}.
419+
* `16` (type): REQUIRED. The type of the CWT MUST be `application/statuslist+cwt` as defined in {{RFC9596}}.
420420

421421
The following content applies to the CWT Claims Set:
422422

@@ -1801,6 +1801,7 @@ CBOR encoding:
18011801

18021802
-08
18031803

1804+
* Fix cwt typ value to full media type
18041805
* Holders may also fetch and verify Status List Tokens
18051806
* Update terminology for referenced token and Status List Token
18061807

src/status_token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
DEFAULT_ALG = "ES256"
1212
STATUS_LIST_TYP_JWT = "statuslist+jwt"
13-
STATUS_LIST_TYP_CWT = "statuslist+cwt"
13+
STATUS_LIST_TYP_CWT = "application/statuslist+cwt"
1414

1515

1616
class StatusListToken:

0 commit comments

Comments
 (0)