Skip to content

Commit

Permalink
jti should be a string
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaldwin authored and simo5 committed Sep 14, 2018
1 parent 0216118 commit 9f441be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwcrypto/jwt.py
Expand Up @@ -280,7 +280,7 @@ def _add_time_claim(self, name, claims, defval):
def _add_jti_claim(self, claims):
if 'jti' in claims or 'jti' not in self._reg_claims:
return
claims['jti'] = uuid.uuid4()
claims['jti'] = str(uuid.uuid4())

def _add_default_claims(self, claims):
if self._reg_claims is None:
Expand Down

0 comments on commit 9f441be

Please sign in to comment.