Following https://docs.shuttle.rs/examples/axum... ~ "Learn how you can secure your Axum web application by using JWT tokens."
I deploy to shuttle and then test :
/public: a route that can be called without needing any authentication.
/login: a route for posting a JSON object with a username and password to get a JWT.
/private: a route that can only be accessed with a valid JWT.
#learningrust #rustprogramming
En esta página del sitio puede ver el video en línea Shuttle JWT tutorial | Deploy & Test | Rust Launguage de Duración hora minuto segunda en buena calidad , que subió el usuario Learning Rust 09 julio 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 116 veces y le gustó 3 a los espectadores. Disfruta viendo!