Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what's the preferred way to perform user authentication and authorization in Clojure?

I've been working on a web app in Clojure as a side project, and I'm trying to figure out how to do user authentication and autherization. From the googling I've done, I heard about sandbar, but after reading the two blogposts on sandbar (Part 1, Part 2), I left with more questions than answers. I've looked at the source code for 4clojure, and from what I can tell, they roll their own, the problem is that the code's not commented very well, if at all. I'm thinking I need to roll my own system and use either sandbar or noir.session to pass user information around. Could someone please point me in the right direction? I feel like I'm missing something simple.

like image 655
Levi Campbell Avatar asked Mar 14 '12 06:03

Levi Campbell


1 Answers

Chas Emerick's Friend library is now available. It's still relatively new, but looks promising and quite well documented.

like image 74
Martin Dow Avatar answered Sep 21 '22 10:09

Martin Dow