I'm struggling with my luminus app. I've decided I need to look at putting some tests around some functionality, but the tests for the routes hit the spec.coerce exceptions. Maybe out's a router wrapper problem.
ah. Must be smarter. 😕
I recently created a new luminus app with +auth-jwe
. From what I can tell it looks like it should be hooked up in project_name.middleware
. However, my requests don't throw 401s when there is no Authorization header in the request. I tried passing my own authfn
to jwe-backend
but it doesn't appear to be getting called either. Any thoughts?
The problem was A. my Authorization header was malformed, and B. I didn't realize that all wrap-auth
does is add the token to the request :identity