Skip to content

Commit 03dd4ce

Browse files
authored
Update jwt.py
1 parent 127b135 commit 03dd4ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jose/jwt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def decode(token, key, algorithms=None, options=None, audience=None,
7575
a tuple or list of keys (e.g. ("a1234...", "b3579"),
7676
a JSON string, (e.g. '["a1234", "b3579"]'),
7777
a dict with the 'keys' key that gives a tuple or list of keys (e.g {'keys': [...]} ) or
78-
a dict or JSON string as defined by RFC 7517 (e.g.
78+
a dict or JSON string for a JWK set as defined by RFC 7517 (e.g.
7979
{'keys': [{'kty': 'oct', 'k': 'YTEyMzQ'}, {'kty': 'oct', 'k':'YjM1Nzk'}]} or
8080
'{"keys": [{"kty":"oct","k":"YTEyMzQ"},{"kty":"oct","k":"YjM1Nzk"}]}'
8181
) in which case the keys must be base64 url safe encoded (with optional padding).

0 commit comments

Comments
 (0)