axum-login icon indicating copy to clipboard operation
axum-login copied to clipboard

🪪 User identification, authentication, and authorization for Axum.

Results 6 axum-login issues
Sort by recently updated
recently updated
newest added

I'm working on adding an example for postgres, since it seems to differ a bit from the sqlite example provided. I'm currently debugging why the session authentication here: ```rust //...

Adding a login-logout test to the sqlite example. Several questions arose while implementing the test: - How to build the login request, to include cookies(*) like `AuthSession` and `Messages` in...

Previously we relied on the `secrecy` crate to ensure the `session_auth_hash` was handled carefully. However, it's unclear to me how active development is of that crate. It's also worth mentioning...

enhancement
help wanted

Hello, Currently the library always returns a specified set of responses on errors. We can see it [here ](https://github.com/maxcountryman/axum-login/blob/4efb8aa42bd715822b99e9cae30d222a31ac3b1e/axum-login/src/auth.rs#L124) and [here](https://github.com/maxcountryman/axum-login/blob/4efb8aa42bd715822b99e9cae30d222a31ac3b1e/axum-login/src/auth.rs#L199). In some cases the users may want to modify...

enhancement
help wanted

Based on the suggestion on #254, this allows to change the redirect status code to 303-See Other or 307-Temporary Redirect (default)

This change modifies the status code used in the `login_required!` from its current value of 307 (Temporary Redirect) to 303 (See Other). The update improves the redirect behavior when authentication...