jwt-authorizer/README.md
cduvray 6dd6b11880 build(ci): refactor ci.yml, bump MSRV to 1.75
(wiremock -> deadpool-runtime which needs 1.75)

build(ci): remove update

- cargo update -Z minimal-version resulting in errors in num-bigint
2024-08-25 09:20:25 +02:00

1 KiB

jwt-authorizer

JWT authorizer Layer for Axum.

Build status Crates.io Documentation

Features

  • 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)
  • Claims checker
  • Tracing support (error logging)
  • tonic support

Usage

See documentation of the jwt-authorizer module or the demo-server example.

Development

Minimum supported Rust version is 1.75.

Contributing

Contributions are wellcome!

License

MIT