Skip to content

Commit

Permalink
Format...
Browse files Browse the repository at this point in the history
  • Loading branch information
cottinisimone committed Nov 29, 2023
1 parent 97b19c0 commit 92332fa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/get_jwks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ async fn main() {

// The kid "unknown" cannot be a JWKS valid KID. This must not be found here
let result: Result<JsonWebKey, JwksClientError> = client.get("unknown").await;
println!(
"Get with kid \"unknown\": {}",
result.unwrap_err()
);
println!("Get with kid \"unknown\": {}", result.unwrap_err());

// The provided kid (assuming is the same you got from your tenant) is valid and could be found.
let result: Result<JsonWebKey, JwksClientError> = client.get(&kid).await;
Expand Down

0 comments on commit 92332fa

Please sign in to comment.