duct

2025-09-27T17:04:08.494709Z

All the updates to duct, especially its documentation, have been excellent. Thanks! One thing I couldn't find that I'm wondering about: what's the duct approach to authentication and authorization? Duct provides a really nice way to hook in routing and databases and even clojurescript, but doesn't give me any insight into how I might build a web app that requires auth

weavejester 2025-09-29T01:57:15.897609Z

Currently Duct doesn't have a module or component for either authentication or authorization, so you'd need to write your own functions or middleware to handle that, or integrate a third-party auth library. This has been something I've been thinking about, but to my knowledge there aren't a lot of general-purpose auth libraries for Clojure. Adding auth to Duct would likely require first writing a more general auth library for Clojure.

👍🏻 1