This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-16
Channels
- # announcements (11)
- # beginners (184)
- # calva (91)
- # cider (68)
- # cljdoc (42)
- # cljs-dev (44)
- # clojure (228)
- # clojure-dev (1)
- # clojure-europe (3)
- # clojure-italy (4)
- # clojure-losangeles (6)
- # clojure-nl (9)
- # clojure-spec (73)
- # clojure-uk (19)
- # clojurescript (61)
- # core-async (6)
- # cursive (2)
- # datomic (11)
- # fulcro (28)
- # hyperfiddle (16)
- # leiningen (2)
- # luminus (3)
- # off-topic (19)
- # om-next (1)
- # re-frame (2)
- # reagent (12)
- # reitit (4)
- # ring-swagger (5)
- # shadow-cljs (14)
- # slack-help (6)
- # spacemacs (2)
- # tools-deps (40)
- # vim (15)
- # yada (4)
Trying to get cookie auth working, but I’m getting a schema error. I can reproduce it by this minimal expression:
(yada.yada/resource
{:access-control
{:scheme :cookie
:cookie "session"
:verify (fn [cookie])}})
ExceptionInfo Cannot turn resource-model into resource, because it doesn't conform to a resource-model schema clojure.core/ex-info (core.clj:4739)
(removing :cookie "session"
makes it validate)If I look at https://github.com/juxt/yada/blob/master/src/yada/security.clj#L22 it also seems something regarding cookies has been commented out. So I guess the status is that it’s not implemented anymore?