Mongoose + Everyauth weird behavior Mongoose + Everyauth weird behavior express express

Mongoose + Everyauth weird behavior


Use mongoose-auth. It takes care of the combination of mongoose and everyauth for you.


There seems to be an issue with assigning _id with a forced value. So I created another id for the profile specific id (ex: facebookId).