Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Digest authentication on http requests from clojure (?)

I would like to consume a REST API using clojure, but I need to use digest authentication. I've been googling, but I can find no direct support for it in any of the client libs, and the documentation on the Java side (as well as on digest auth implementations in general) is poor.

I would basically like to get recommendations on the easiest route to get digest authentication working on my http requests from clojure.

like image 991
Torbjørn Avatar asked Oct 26 '22 03:10

Torbjørn


1 Answers

clj-http uses HttpComponents that have digest authentication (see here). Maybe you can cook something with that.

like image 64
lazy1 Avatar answered Oct 30 '22 18:10

lazy1