Replies: 1 comment 2 replies
-
Yes the key must come from the state. So you have to put the env car in your state. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello I'm trying to add PrivateCookieJar and reading the doc page (https://docs.rs/axum-extra/latest/axum_extra/extract/cookie/struct.PrivateCookieJar.html) but don't understand how to feed the key in from env or some other source besides app state.
Does a private cookie jar's key have to come from the app state?
The context here is that I'm testing out https://loco.rs and am not able to implement
from
on itsAppContext
that I can see.Beta Was this translation helpful? Give feedback.
All reactions