servant-auth-cookie
servant-auth-cookie copied to clipboard
Authentication via encrypted cookies
First of all, thanks for your work on this library! We use cookie auth in our servant-based application and want to switch to `servant-0.13` (which has some essential features), but...
I'd like to migrate a project that depends on servant-auth-cookie to servant 0.13.
Currently, servant-auth-cookie generates invalid cookies which fail on some browsers. The error is in the rendering of the previously available `acsCookieFlags` field. It resulted in cookies which look like `name=value;HttpOnly=;Secure=;SameSite`....
Hey, so I’ve been thinking, given `CookiedWrapperClass`’s making type inference for endpoints more/less *inconvenient*, could we maybe define a `CookiedBis` (cheesy name), i.e. a full combinator, used like: ```hs type...
Hey, thank you for this library and the example code. I have a use-case I cannot figure out how to go about. Some of my routes work both for authenticated...
Hey there! Thanks for your efforts in writing this library! I've been reading a bit and noticed servant will probably [deprecate it's auth support](https://github.com/haskell-servant/servant/issues/805) in favour of [haskell-servant/servant-auth](https://github.com/haskell-servant/servant-auth). I was...
Thank you for servant-auth-cookie! I just published a runnable template app which is the result of my own tinkering, featuring servant-auth-cookie: https://github.com/sboehler/servant-starter-app Feel free to link it in the docs...
The cookie protocol in "A Secure Cookie Protocol" by Alex Liu et al. seems to be a precursor to jwt. Why not support jwt which is both standard and more...
Compiling with base-4.7 fails w/ the latest release (see also http://104.239.175.197:8080/package/servant-auth-cookie): ``` Configuring component lib from servant-auth-cookie-0.5.0... Preprocessing library servant-auth-cookie-0.5.0... [1 of 1] Compiling Servant.Server.Experimental.Auth.Cookie ( src/Servant/Server/Experimental/Auth/Cookie.hs, /tmp/matrix-worker/1492269924/dist-newstyle/build/x86_64-linux/ghc-7.8.4/servant-auth-cookie-0.5.0/build/Servant/Server/Experimental/Auth/Cookie.o ) src/Servant/Server/Experimental/Auth/Cookie.hs:469:18:...
There is a comment hinting at some way to do that: ``` ---------------------------------------------------------------------------- -- Add/remove session -- | Add cookie header to response. The function can throw the same --...