We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5c1ece commit ec14da0Copy full SHA for ec14da0
packages/jsonwebtoken/src/validation.rs
@@ -61,6 +61,8 @@ impl From<&Validation> for jsonwebtoken::Validation {
61
62
if let Some(aud) = &value.aud {
63
validation.set_audience(aud);
64
+ } else {
65
+ validation.validate_aud = false;
66
}
67
if let Some(required_spec_claims) = &value.required_spec_claims {
68
validation.set_required_spec_claims(required_spec_claims);
0 commit comments