This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-27
Channels
- # bangalore-clj (1)
- # beginners (11)
- # boot (23)
- # business (2)
- # cider (43)
- # cljs-dev (65)
- # cljsjs (17)
- # cljsrn (4)
- # clojure (144)
- # clojure-austin (4)
- # clojure-berlin (3)
- # clojure-finland (4)
- # clojure-nl (2)
- # clojure-russia (13)
- # clojure-spec (73)
- # clojure-uk (42)
- # clojured (2)
- # clojurescript (166)
- # core-matrix (4)
- # cursive (24)
- # datomic (39)
- # dirac (8)
- # hoplon (97)
- # jobs (2)
- # jobs-rus (11)
- # juxt (16)
- # lein-figwheel (8)
- # leiningen (1)
- # luminus (5)
- # lumo (46)
- # off-topic (1)
- # om (39)
- # onyx (43)
- # overtone (1)
- # pedestal (3)
- # perun (6)
- # play-clj (3)
- # protorepl (14)
- # re-frame (21)
- # reagent (25)
- # remote-jobs (1)
- # ring (1)
- # robots (4)
- # rum (13)
- # specter (5)
- # untangled (72)
- # yada (62)
Hi @gdeer81, I have not. Though I haven't been giving it my full attention. I did some more reading on Friday, and it still feels unclear. I am coming from mostly django experience where auth is a solved problem. I'm liking luminus because I like the decisions that it's making for me, however I feel that it (or perhaps clojure apps in general) is lacking in the answer for auth. I much appreciate any advice I can get!
I could use buddy's wrap-authentication
with the session-backend, and then use wrap-access-rules
to open up a /login route, and everything else go the the single page app perhaps under /
. However, then it's no longer a single-page app, right? The token option seems to allow me to make it an SPA, but I don't get the access rule restriction with secretary routes, and I haven't yet seen a way to do that kind of conditional routing (like go to /#/login
if not authorized) with secretary.