Hey @ChrisLau90 and @stevewlrls
I am having the same issue but calling my plugin route from postman i get 401.
I am using the bearer token of an authenticated user but i cant find the way to pass the 401. It only work with auth:false config, but i want to be called only for an authenticated user and i want to know information about that user in the controller.
module.exports = [
{
method: ‘POST’,
path: ‘/test/hello’,
handler: ‘test.hello’,
config: {
policies: ,
},
}
];