-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Hi,
I set this up locally to take a look at a sample app with a notification feed. I'm using a local MongoDB which the app connects to fine and after running after_deploy.js I can see the relevant collections being created and updated.
After npm start, the app launches and I can access the main static content at the root (localhost:8000 / Trending). However when I try and access any of the specific feed examples I'm re-routed to /login. A small effort at troubleshooting suggests the passport_mock authentication isn't working for some reason (hence the perpetual redirect to /login).
I'm using the default details within the sample code without any changes. Limited effort to debug on passport_mock.js =
User.findOne({username: 'Andrew'}, function(err, found){
if (err) console.log(err);
**console.log(found);**
....
I've included the console output of the initial function (found) in case it's useful, but I've not had time to try and diagnose what's going wrong on the passport side of things beyond this - any guidance appreciated.
Thanks,
Tom
