Mean.js req.isAuthenticated is showing fail? Mean.js req.isAuthenticated is showing fail? express express

Mean.js req.isAuthenticated is showing fail?


I think I had the same problem. Make sure to check your policies folder on the server side.

roles: ['user'],allows: [{  resources: '/articles',  permissions: ['get', 'post']}, {  resources: '/articles/:articlesId',  permissions: ['get']}, {  resources: '/articles',  permissions: ['post']}]

Add the resource path /articles and permissions.