Loopback user example Get current user in app using middleware. Can access user in remote hooks and methods with app.user. See example in common/models/user.js -- The project is generated by LoopBack.