jhildreth / falcon-jwt-checker

MIT License
12 stars 5 forks source link

Default for aud when not specified #4

Closed jhildreth closed 7 years ago

jhildreth commented 7 years ago

Currently if an audience is not specified for the checker, it is set to an empty string. I'll need to do some testing, but I believe this will cause evaluated jwts that have an aud claim to fail validation. Instead setting the default value to None would cause the aud claim to not be evaluated when validating the jwt, which would be the expected behavior.

jhildreth commented 7 years ago

Addressed in e097c2b9a7144bb9f1d6f5059378ac61c9ea5ff8.