We are passing a non-standard object to auth initialisation in app.js
app.configure(auth({secret: 'secret', service: 'private'}))
According to https://docs.feathersjs.com/api/authentication/server.html#options, secret
is not part of the API. Also, why is the service being passed the private
service as that, according to the docs, is for “the entity that will be added to the request, socket, and context.params. (ie. req.user, socket.user, context.params.user)
service: 'users', // the service to look up the entity”