jwkrs

Crates.io

jwkrs

Early prototype of a JWK authentication library.

How to use:

```rust

[tokio::main]

async fn main() { let config = JwkConfiguration { jwkurl: "{JWKURL}".tostring(), audience: "{AUDIENCE}".tostring(), issuer: "{ISSUER}".to_string(), }; let jwk = jwkrs::JwkAuth::new(config);

...

} ```

See examples for more ideas of how to use it.

Thanks to:

This repo is inspired by Lukas May's great blog post https://medium.com/@maylukas/firebase-token-authentication-in-rust-a1885f0982df