This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-03
Channels
- # bangalore-clj (2)
- # beginners (29)
- # boot (52)
- # cider (4)
- # clara (3)
- # cljs-dev (34)
- # cljsjs (7)
- # cljsrn (3)
- # clojure (71)
- # clojure-austin (1)
- # clojure-dev (5)
- # clojure-france (20)
- # clojure-russia (51)
- # clojure-spec (9)
- # clojure-uk (20)
- # clojurescript (131)
- # core-async (56)
- # core-logic (6)
- # cursive (50)
- # datascript (19)
- # datomic (16)
- # dirac (118)
- # emacs (100)
- # events (4)
- # hoplon (14)
- # incanter (1)
- # jobs (7)
- # jobs-discuss (96)
- # jobs-rus (21)
- # lein-figwheel (5)
- # leiningen (21)
- # off-topic (11)
- # om (45)
- # onyx (42)
- # pamela (1)
- # pedestal (22)
- # portland-or (3)
- # re-frame (8)
- # reagent (5)
- # ring (9)
- # robots (1)
- # spacemacs (14)
- # specter (28)
- # sql (2)
- # untangled (165)
Are there examples of handling authentication with pedestal?
@julianwegkamp I know some people have had success using Buddy from a Pedestal service. Buddy-auth uses Ring middleware, but it's trivial to turn that into an interceptor. You might get some milage out of http://rundis.github.io/blog/2015/buddy_auth_part2.html
Thx @mtnygard. I will take a look at it.
@julianwegkamp take a look at geheimtur as well. https://github.com/propan/geheimtur
I’ve worked with both. Buddy requires some minor work to port middleware but it’s no big deal
Geheimtur is new to me. Will check it out, thanks @ddeaguiar
Thx. It surprises me that there isn't a go-to solution for pedestal. Isn't (some form of) authentication a standard use case for a web application server?
@julianwegkamp there was a recent discussion re: this in the pedestal-users mailing list. See https://groups.google.com/forum/#!topic/pedestal-users/MJL0h4ts_mk for Paul’s thoughts
FYI I just added my 2 ct to the discussion in pedestal-users
Hi all,
I’m playing with vase/pedestal.
What’s the best way to coerce a json value to timestamp/edn-date/java.util.Date within a #vase/transact
?
I'm looking for sth like the :edn-coerce […]
which is used by #vase/query
.
Do I really have to use an interceptor for all my edn values like #inst
or #uuid
within a #vase/transact
?
Hi @baris. I'm glad you're giving Vase a try. I'm going to dig in to your question together with Paul deGrandis (the main author). He's not on Slack so I'll come back with an answer in a while.
@baris It's definitely a limitation of the Transact literal right now. I've entered issue https://github.com/cognitect-labs/vase/issues/45 to address that. It should accept EDN and Transit as well as JSON.
@mtnygard that would be a great enhancement. For the moment I’m using custom interceptors