axum-login
axum-shuttle-postgres-authentication-demo
axum-login | axum-shuttle-postgres-authentication-demo | |
---|---|---|
5 | 1 | |
446 | 19 | |
- | - | |
8.6 | 3.6 | |
22 days ago | 8 months ago | |
Rust | Rust | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
axum-login
- Show HN: Axum-login, simple and flexible user auth for your Rust axum projects
-
Shared data through ( ASKAMA template engine ) like username for all pages?
One option is to use the axum-login crate. It allows one to define a User struct, and a function that validates login credentials. With that, axum-login takes care of session management and provides a AuthSession object to each page, for example:
-
axum-login v0.4.0 released
You might find the oauth example helpful: https://github.com/maxcountryman/axum-login/tree/main/examples/oauth
-
axum-login v0.2.0 released
axum-login is a Tower middleware providing session-based user authentication for axum applications:
axum-shuttle-postgres-authentication-demo
-
Building an authentication system in Rust using session tokens
We will be walking through implementing the system including a frontend for interacting with it. We will be using Axum for routing and other handling logic. The source code for this tutorial can be found here. We will then deploy the code on shuttle, which will handle running the server and giving us access to a Postgres server.
What are some alternatives?
axum-auth - High-level http auth extractors for axum
rust-yew-axum-tauri-desktop - Rust + Yew + Axum + Tauri + Tailwindcss, full-stack Rust development for Desktop apps.
axum-tutorial - Axum web framework tutorial for beginners.
svelte-axum-project - Starting project template for Rust Axum backend and Svelte frontend
axum-casbin - Axum authorization middleware based on Casbin
knodis - Not sure what this will be yet
tchatchers - tchatche.rs is a blazing fast chat application built with Axum and Yew.rs
sqlx-adapter - Asynchronous casbin adapter for mysql, postgres, sqlite based on sqlx-rs
Google Fonts - Font files available from Google Fonts, and a public issue tracker for all things Google Fonts
stump - A free and open source comics, manga and digital book server with OPDS support (WIP)