Skip to content

Commit b69ca4a

Browse files
committed
fix cwt typ to use full media type
1 parent 549d9e0 commit b69ca4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

draft-ietf-oauth-status-list.md

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

415415
The following content applies to the protected header of the CWT:
416416

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

419419
The following content applies to the CWT Claims Set:
420420

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)