Skip to content

lowzzz/jwt-authorizer

 
 

Repository files navigation

jwt-authorizer

This crate is a maintained fork of jwt-authorizer. The original work was created by cduvray (c_duvray@proton.me>). Licensed under MIT.

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

About

JWT authorization layer for Axum.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%