Replies: 1 comment 2 replies
-
I'm open to it but it is a larger refactor. My suggestion would be to move the implementation closer to actix session. (Please note, actix is fundamentally different and we'd need to be careful to not undo important aspects of this crate, like deferring session store loads). A cookie store implementation should live in this crate behind a feature flag. |
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
-
I've read the code and discussion, and it seems a repeating issue is around the Id.
It looks like this crate dictates the Id shape, form, entropy, while it might have been better to just give a loose sense of what Id should be.
This would enable those with more security requirements to enforce that, and also to implement stores such as cookie store (I'm aware of the recommendations and dis-recommendations for that)
so my question is, is there a hard principle here? maybe I can refactor the library to get a general form and sense of an Id? (e.g. just String)
Beta Was this translation helpful? Give feedback.
All reactions