bradtraversy / storybooks

Node.js app with Google OAuth
MIT License
569 stars 893 forks source link

req.user.firstName is undefined #49

Closed tapan31 closed 2 years ago

tapan31 commented 2 years ago

I am trying to access the req.user.firstName in the index.js file in Routes folder but it does not print the name, instead it shows undefined. Please help me fix this

tapan31 commented 2 years ago

The serializer and deserializer functions in the passport.js documentation is not working, use the one mentioned in the tutorial