This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-28
Channels
- # admin-announcements (2)
- # alda (5)
- # arachne (4)
- # beginners (49)
- # boot (92)
- # capetown (3)
- # cider (9)
- # cljs-dev (6)
- # cljs-edn (1)
- # cljsjs (29)
- # cljsrn (4)
- # clojure (65)
- # clojure-android (1)
- # clojure-berlin (2)
- # clojure-chicago (2)
- # clojure-gamedev (2)
- # clojure-greece (11)
- # clojure-india (1)
- # clojure-japan (1)
- # clojure-new-zealand (2)
- # clojure-quebec (2)
- # clojure-russia (49)
- # clojure-spec (73)
- # clojure-uk (38)
- # clojurescript (118)
- # clojutre (4)
- # community-development (17)
- # cursive (3)
- # data-science (1)
- # datascript (1)
- # datomic (17)
- # emacs (6)
- # euroclojure (2)
- # events (2)
- # immutant (30)
- # keechma (11)
- # leiningen (4)
- # luminus (2)
- # off-topic (19)
- # om (14)
- # onyx (28)
- # planck (9)
- # re-frame (11)
- # reagent (35)
- # ring-swagger (4)
- # schema (4)
- # slack-help (6)
- # spacemacs (2)
- # specter (11)
- # testing (4)
- # untangled (88)
- # utah-clojurians (2)
- # vim (2)
- # yada (9)
@mccraigmccraig: I looked up and read some things about JWT, but not sure I fully understand how users can login from anywhere if the authentication is stateless (i.e., no database).
@dijonkitchen: with JWT you still need to keep authentication in the database (store usernames, bcrypted passwords). However, you don't need to store sessions there
i.e. when/if a user is logged
This information will be contained in the signed/encrypted JWT token that you pass around as an header in every request you do to the server.
got it
I’m used to the normal session cookie
Yep, one of the advantages of JWT is that security-wise you also get rid of all the cookie-related attacks
cool, that’s awesome
The user process still seems complicated to me with Datomic, schemas, and scrypt. Maybe it’s because I’m coming from the Ruby on Rails world, but I’m surprised there isn’t more documentation on just setting that all up easily.
@dijonkitchen: never been to Rubyland (always been on Python and Clojure) and in general I'm surprised too that there isn't a single library/framework that handles all those things easily
Django comes close to that, but it's still not there and gets bloated easily