More options around Cookies and Authentication in Axum? #296
Answered
by
davidpdrsn
sidkshatriya
asked this question in
Q&A
-
I'm looking for more options around cookies and authentication. Rocket for instance seems to have some options here. Are there some good third party libraries that I can use for authentication and cookies? Things like CSRF protection etc. will be very useful. |
Beta Was this translation helpful? Give feedback.
Answered by
davidpdrsn
Aug 31, 2021
Replies: 1 comment 1 reply
-
axum doesn't have anything built-in for dealing with cookies. We recommend you pick whatever cookies crate fits your need and use that. A few options:
See #172 for more details. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
davidpdrsn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
axum doesn't have anything built-in for dealing with cookies. We recommend you pick whatever cookies crate fits your need and use that. A few options:
TypedHeader
extractor.See #172 for more details.