We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 279e913 commit 9949cfdCopy full SHA for 9949cfd
1 file changed
src/jwt.rs
@@ -56,6 +56,8 @@ fn decode_jwt(args: DecodeArgs) -> Result<(), String> {
56
validation.insecure_disable_signature_validation();
57
validation.validate_exp = false;
58
validation.validate_aud = false;
59
+ validation.validate_nbf = false;
60
+ validation.required_spec_claims.clear();
61
62
let token_data = match decode::<Value>(&token, &DecodingKey::from_secret(&[]), &validation) {
63
Ok(t) => t,
0 commit comments