rust-jwt
rocket_auth
rust-jwt | rocket_auth | |
---|---|---|
2 | 2 | |
1,546 | 74 | |
- | - | |
6.9 | 0.0 | |
10 days ago | about 1 month ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
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.
rust-jwt
-
help me with session based authentication in actix web please!!!
So first I generate a token using the jsonwebtoken crate. This accepts a struct that is serde serializable and deserializeable. After that I construct the Cookie and send it as the response to the request for the '/login' route. You can see my struct here (I named it JWT, but that is not the best name ever, this is the data included in the JWT token): https://github.com/horvbalint/speer/blob/main/backend/src/jwt.rs And then the login route here (line 88): https://github.com/horvbalint/speer/blob/main/backend/src/routes.rs
- i am currently working in an startup as a rust developer
rocket_auth
-
Authentication for Rocket+Diesel application
The basic CRUD operations are done, however I'm still missing the users and authentication logic. Since I don't want to build it form scratch if possible, I found rocket_auth which seems perfect, except that it does not support diesel.
-
Hey Rustaceans! Got an easy question? Ask here (14/2021)!
There is https://github.com/tvallotton/rocket_auth, which salts by default IIRC
What are some alternatives?
rust-accountkit
rocket-auth-login - Authentication and login processing for Rust's Rocket web framework. Demonstrates a working example of how to authenticate users and process login as well as how to handle logging out.
firestore-db-and-auth-rs - Easy Rust access to your Google Firestore DB via service account or OAuth impersonated Google Firebase Auth credentials
axum-auth - High-level http auth extractors for axum
srp6-rs - A safe implementation of the secure remote password authentication and key-exchange protocol (SRP and SRP6a)
sudo_pair - Plugin for sudo that requires another human to approve and monitor privileged sudo sessions
jwt-explorer - Decode, explore, and sign JWTs
tokio-uring - An io_uring backed runtime for Rust
sqlx-adapter - Asynchronous casbin adapter for mysql, postgres, sqlite based on sqlx-rs
dev_api
tuigreet - Graphical console greeter for greetd