Skip to content
This repository has been archived by the owner on Nov 25, 2019. It is now read-only.

problems with passport login #3

Open
dcsan opened this issue Jul 24, 2015 · 0 comments
Open

problems with passport login #3

dcsan opened this issue Jul 24, 2015 · 0 comments

Comments

@dcsan
Copy link

dcsan commented Jul 24, 2015

during development the user object within the passport code seems to sometimes just come back as [

this is the raw value the passport.serializeUser(function(user, done) { receives.

so the session gets set like this:

/home session: { cookie: 
   { path: '/',
     _expires: null,
     originalMaxAge: null,
     httpOnly: true },
  passport: { user: '"["' },
  token: 'xxxxxx' }

this seemed to happen after i was using /developing with my app for a couple of hours, twice in a row.

it looks like an array of users is trying to come back from the passport.use code, but things are breaking soon after that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant