This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-13
Channels
- # 100-days-of-code (2)
- # announcements (1)
- # beginners (41)
- # boot (1)
- # calva (3)
- # cider (25)
- # cljdoc (20)
- # cljs-dev (24)
- # clojure (16)
- # clojure-conj (1)
- # clojure-dev (9)
- # clojure-germany (1)
- # clojure-italy (4)
- # clojure-uk (8)
- # clojurescript (25)
- # community-development (14)
- # cursive (4)
- # datascript (2)
- # datomic (20)
- # duct (16)
- # emacs (12)
- # fulcro (168)
- # graphql (1)
- # keechma (3)
- # leiningen (1)
- # luminus (5)
- # off-topic (13)
- # re-frame (8)
- # reagent (3)
- # rum (1)
- # shadow-cljs (24)
- # spacemacs (32)
- # unrepl (2)
- # vim (2)
Understood. Thank you for the advice @danielstockton & @mikethompson
how do people do things like oauth2 authentication with re-frame?
I plugged in ring-oauth2
now and have a button which allows to go through the flow, and in the backend I now have the token available
I also already added auth checks on the various API calls, but I also need to make the UI behave differently depending if I'm authenticated or not
should I maybe add an HTTP call to the backend that gets dispatched at page load, and checks if we are currently authenticated?
or are there any other alternatives?