Closed Sascha8a closed 7 years ago
Actually the example looks like it is correct.
The request is only passed to the callback when the passReqToCallback
option is true. By default passReqToCallback is false. In the README, passReqToCallback is not set to true.
Closing since merging this would make the documentation incorrect.
The verifyFunction provides 3 parameters, not two. The first beeing the request, the second the payload and the third the usual callback.