You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'd like to accept multiple audiences, but jwt.decode() does not support an iterable. This is supported in PyJWT, and the _validate_aud() seems to already accept a list of audiences from the token.
I'd happily submit a PR if accepted.
The text was updated successfully, but these errors were encountered:
RFC 7519 does state the aud claim may or may not be included, can be null (in which case it's invalid), or a string, or an array of strings. Python typings would be something like None|str|Iterable[str].
Hi,
We'd like to accept multiple audiences, but
jwt.decode()
does not support an iterable. This is supported in PyJWT, and the_validate_aud()
seems to already accept a list of audiences from the token.I'd happily submit a PR if accepted.
The text was updated successfully, but these errors were encountered: