I am trying to integrate Friend authentication and authorisation into a Clojure/Compojure single-page web application.
I have a login form backed by an Angular controlle
You need to have :redirect-on-auth? as false and you need to wrap your response in a response map {:status 200 :body (workflows/make-auth...)}. Note that you probably need to serialize your body to a String or something else that can be handled.
:redirect-on-auth?
false
{:status 200 :body (workflows/make-auth...)}
String