Fork me on GitHub
#yada
<
2016-11-18
>
bsima19:11:22

anyone around? I'm having some trouble getting custom auth to work with yada

Rachel Westmacott20:11:02

what is the problem?

rajdevireddy20:11:10

Trying to figure out how custom authorization works. Following the sample from chapter 11.4 in Yada manual we tried the following

rajdevireddy20:11:16

But calling that GET resource fails with this error

java.lang.AssertionError: Assert failed: (:method-wrapper ctx)
	at yada.interceptors$invoke_method.invokeStatic(interceptors.clj:341)
	at yada.interceptors$invoke_method.invoke(interceptors.clj:337) 

rajdevireddy20:11:41

Trying to see whats wrong in this resource definition. Greatly appreciate any help on this... thx.