JWT authorizer Layer for Axum.
- JWT token verification (Bearer)
- Algoritms: ECDSA, RSA, EdDSA, HMAC
- JWKS endpoint support
- Configurable refresh
- OpenId Connect Discovery
- Validation
- exp, nbf, iss, aud
- Claims extraction
- into custom deserializable structs or into
RegisteredClaims
(default)
- into custom deserializable structs or into
- Claims checker
- Tracing support (error logging)
- tonic support
See documentation of the jwt-authorizer
module or the demo-server
example.
Minimum supported Rust version is 1.75.
Contributions are wellcome!
MIT