Fork me on GitHub
#luminus
<
2019-10-06
>
skelter00:10:41

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.

skelter01:10:22

ah. Must be smarter. 😕

Jon Walch18:10:09

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?

Jon Walch19:10:59

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