Hi all! I am working with lacinia-pedestal and I want to add cookie-sessions. Here's my handler
:
(defn handler
"Ion handler. Start up backend processes."
[service-map]
(-> service-map
(assoc ::http/resource-path "/public"
::http/allowed-origins (constantly true)
::http/chain-provider provider/ion-provider
::http/enable-session {:store cookie/cookie-store})
cast-log
http/create-provider
cast-log))
which enables the Ring middleware session interceptor. Unfortunately, I am having difficulty writing an interceptor that will put a session on the HTTP browser. I would appreciate any suggestions, help, etc. you might have on this. Thanks!