Skip to content

About anonymous, authenticated and protected routes #255

Answered by maxcountryman
mainrs asked this question in Q&A
Discussion options

You must be logged in to vote

However, axum-login seems to rely on session storage, where as my solution does not use session at all.

There's some prior discussions about using axum-login in an API or mobile context where you wouldn't use a session in the traditional sense (but would still use a cookie). If that might fit your use case, it could be worth checking out.

That said, axum-login is a user session management crate and so if you want a completely stateless or cookie-less solution, it might not be the best fit for your use case.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mainrs
Comment options

Answer selected by mainrs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants