A beginner-friendly tutorial on implementing JWT (Json Web Token) authentication in a Rust web API 00:00 Introduction and scope 00:32 Project setup 04:17 Axum route handlers 11:45 Encode struct to jwt 21:23 Axum Extractor (from request parts traits) 27:41 Decode jwt to struct 30:05 Axum Extractor continued 32:30 Acitx web route handlers 38:42 Actix Extractor (from request trait) 44:25 Securing routes with middleware #rust #axum #jwt #actixweb #actix Rust Axum Actix Web JSON Web Token Github repo: https://github.com/cudidotdev/JWT-Authentication-with-Rust-Axum-and-Actix Axum Response: https://docs.rs/axum/latest/axum/response/type.Response.html JsonWebToken encode function: https://docs.rs/jsonwebtoken/9.2.0/jsonwebtoken/fn.encode.html JsonWebToken crate: https://crates.io/crates/jsonwebtoken JWT validation struct: https://docs.rs/jsonwebtoken/9.2.0/jsonwebtoken/struct.Validation.html Axum custom extractor: https://docs.rs/axum/latest/axum/extract/index.html#defining-custom-extractors Actix web traits: https://docs.rs/actix-web/latest/actix_web/index.html#traits Actix web internal error: https://docs.rs/actix-web/latest/actix_web/error/struct.InternalError.html Axum middleware functions: https://docs.rs/axum/latest/axum/middleware/index.html#functions Actix middleware: https://docs.rs/actix-web/latest/actix_web/middleware/index.html