I'm trying to get cookie signing working with my flow.
When I try to create a signed cookie I get an error "Error: cookieParser("secret") required for signed cookies"
So my question is how do I get access to the cookieParser object to reinitialize it with a secret, or is there somewhere I can just put the secret (like in setting.js)?
I wondered if it was possible from inside httpNodeMiddleware: function(req,res,next)
so initially I just tried adding the following to the middleware function
But that just gives an error "app is not defined"
Then I read this post: [feature request] middleware integration
But I can't seem to make that work either, cookieParser is not defined.
Any help would be much appreciated.