I'm using [ring-basic-authentication "1.0.5"] as my auth library for a
quick app I need to get up and running.
The only catch is I need some routes to be protected, and others public.
And I'm not getting it to work with something simple like this:
(cc/defroutes
(cc/routes
pub-routes
(auth/wrap-require-auth app-routes authenticate "Sorry" {:body
"Denied"})))
I'm sure I'm missing something simple, but I'm running out of time....
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.