An axum authentication crate like Rails' devise?
⚓ Rust 📅 2025-11-02 👤 surdeus 👁️ 3People, a question: I have many small projects in Rust all very similar: small management software for different areas and different customers. Coming from Rails where you install the gem "devise" and done (and the same in django world), I'm wondering if there is such a thing in Rails too today.
What I'm looking for is a battle tested crate or code that enables authentication using axum. And with that I mean each classic flow (forgot, login, register, reset, verify, current).
I want to avoid Supabase, Auth0 and so on.
I saw loco.rs has something like this (Authentication - Loco.rs) but I don't want to use loco.rs even if I'm using axum.
I want to nest a crate for thoses routes in axum and have the freedom to move my other code as I please.
I know the amazing GitHub - maxcountryman/axum-login: 🪪 User identification, authentication, and authorization for Axum., but it only handles part of it and the authentication system cannot be manually written or re-invented in 2025! Or at least I don't want to.
2 posts - 2 participants
🏷️ Rust_feed