Skip to content

Commit

Permalink
Merge pull request #176 from oauth-wg/c2bo/status-list-cwt-claim-example
Browse files Browse the repository at this point in the history
status list token cwt example uses new claim key
  • Loading branch information
c2bo authored Sep 20, 2024
2 parents 9f6323a + 6cf08e4 commit 28065cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/status_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def buildCWT(
claims[CWTClaims.EXP] = int(exp.timestamp())
if ttl is not None:
claims[65534] = int(ttl.total_seconds())
claims[65535] = self.list.encodeAsCBOR()
claims[65533] = self.list.encodeAsCBOR()

# build header
if optional_protected_header is not None:
Expand Down

0 comments on commit 28065cb

Please sign in to comment.