We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3d85a35 + f01548e commit ead1eb9Copy full SHA for ead1eb9
1 file changed
src/storjwt.rs
@@ -17,6 +17,7 @@ fn verify_with_key_str(
17
let mut validation = Validation::default();
18
validation.required_spec_claims.clear();
19
validation.validate_exp = false;
20
+ validation.validate_aud = false;
21
let token_data = decode::<Claims>(token_str, &key, &validation)?;
22
let mut claims = BTreeMap::new();
23
claims.insert("email".to_string(), token_data.claims.email);
0 commit comments