This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-26
Channels
- # aleph (9)
- # announcements (10)
- # aws (1)
- # beginners (65)
- # calva (9)
- # cider (11)
- # clj-kondo (1)
- # cljdoc (61)
- # cljsrn (6)
- # clojars (2)
- # clojure (40)
- # clojure-austin (1)
- # clojure-belgium (1)
- # clojure-europe (4)
- # clojure-finland (1)
- # clojure-france (1)
- # clojure-italy (57)
- # clojure-nl (6)
- # clojure-spec (134)
- # clojure-uk (67)
- # clojuredesign-podcast (2)
- # clojurescript (40)
- # cursive (25)
- # datascript (1)
- # datomic (8)
- # events (1)
- # figwheel-main (18)
- # fulcro (36)
- # immutant (5)
- # jobs (5)
- # joker (3)
- # kaocha (41)
- # leiningen (4)
- # luminus (4)
- # off-topic (13)
- # onyx (8)
- # pedestal (2)
- # perun (7)
- # planck (2)
- # protorepl (9)
- # re-frame (3)
- # reagent (73)
- # reitit (5)
- # shadow-cljs (186)
- # sql (4)
- # vim (1)
- # yada (2)
What authentication and authorization workflow do you use in re-frame
SPA?
Probably it depends. For example in the serverless app on AWS I'm writing, I did use AWS Amplify to take care of auth. It integrates nincely with AWS Cognito and I could pretty easily consume it from cljs (I use shadow-cljs, not sure if it's that simple with figwheel).
I do the same and we authenticate and register users via self reg / openID / SAML so Cognito system is pretty flexible. Another nice thing about the Cognito / AWS ecosystem - API gateway has fantastic integration with it and makes it pretty easy for you to power individual functions (lambdas) authorized by Cognito. From a BE perspective it doesn’t really matter, they have SDKs for a ton of languages and you don’t have to run 100% within the AWS ecosystem. As for the front end piece - the build tools really shouldn’t matter (other than it may be easier right now to add the AWS js sdk via shadow) but I personally use figwheel. Another option I’ve explored in the past was Firebase - probably a little more developer friendly but I had some pricing concerns 3 years ago with it. Honestly I couldn’t tell you anything about it today other than it appears to have gained traction.