rust-axum-jwt-auth icon indicating copy to clipboard operation
rust-axum-jwt-auth copied to clipboard

Are you interested in building a secure authentication system for your Rust web application? Look no further than the Axum framework and JSON Web Tokens (JWTs)! Axum is a fast and scalable Rust web fr...

Results 2 rust-axum-jwt-auth issues
Sort by recently updated
recently updated
newest added

https://doc.rust-lang.org/stable/rust-by-example/conversion/try_from_try_into.html Do not implement a function like this: https://github.com/wpcodevo/rust-axum-jwt-auth/blob/040ae80ca0c605242436630073271589b75c38bc/src/handler.rs#L194-L205

When compiling the program, it prompts: error[E0277]: the trait bound `fn(axum::extract::State, axum::Json) -> impl std::future::Future {register_user_handler}: Handler` is not satisfied --> src/route.rs:21:43 | 21 | .route("/api/auth/register", post(register_user_handler)) | ---- ^^^^^^^^^^^^^^^^^^^^^...