Userinfo undefined, even though authentication works

Hi,

Code can be found here: https://github.com/Darkness-2/Flightful

I am having trouble setting up a basic Node & Express app with authentication. The authentication piece seems to be working, as my profile page is only accessible when logged in, but whenever I call req.userinfo, it returns undefined, such as on my test page.

Any thoughts as to why I can’t access any userinfo?

Can you try req.userContext.userinfo and see if that works?