Is attempt of authentication for axum secure (ft axum_login)?
⚓ Rust 📅 2025-05-17 👤 surdeus 👁️ 12This isnt the full code, as the entire code would just be alot to read and go out of the scope of what I am asking, I am using bcrypt, axum, axum-login and jsonwebtoken, is this so far a good attempt and authentication? I know I will probably need to impliment a sql backend but some direction on where to go from here or if there are any issues would be much appreicated.
The goal of this is to impliment basic authentication so the login page can be accessed, and upon accessing it, you are given a JWT, which hopefully axum_login can handle, and lets you have access to the rest of the pages as long as that JWT is present in the header or however axum_login handles it
2 posts - 2 participants
🏷️ rust_feed