diff --git a/endpoint/src/main.rs b/endpoint/src/main.rs index d07c5ed..1cef8c8 100644 --- a/endpoint/src/main.rs +++ b/endpoint/src/main.rs @@ -605,7 +605,7 @@ fn verify_token_signature_test() { let jwk = jwks.keys.first().unwrap(); - let decoding_key = DecodingKey::from_jwk(&jwk).unwrap(); + let decoding_key = DecodingKey::from_jwk(jwk).unwrap(); let mut v = Validation::new(Algorithm::RS256); v.validate_exp = false;