Open JonasKs opened 2 years ago
Hey-o, just here to voice support for this issue.
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]
.
Would also love this feature! Happy to contribute to the PR as well if we get the go-ahead 🙏
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.