Skip to content

Commit

Permalink
fix cwt typ to use full media type
Browse files Browse the repository at this point in the history
  • Loading branch information
c2bo committed Feb 9, 2025
1 parent 549d9e0 commit b69ca4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion draft-ietf-oauth-status-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ The Status List Token MUST be encoded as a "CBOR Web Token (CWT)" according to {

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

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

The following content applies to the CWT Claims Set:

Expand Down
2 changes: 1 addition & 1 deletion src/status_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

DEFAULT_ALG = "ES256"
STATUS_LIST_TYP_JWT = "statuslist+jwt"
STATUS_LIST_TYP_CWT = "statuslist+cwt"
STATUS_LIST_TYP_CWT = "application/statuslist+cwt"


class StatusListToken:
Expand Down

0 comments on commit b69ca4a

Please sign in to comment.