Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

I have this error < Error: Failed to serialize user into session>. please help me #2761

Open

Description

@donatienmigue

passport.use('facebookToken', new FacebookTokenStrategy({
clientID: Config.facebook.clientID,
clientSecret: Config.facebook.clientSecret,
}, async (accessToken, refreshToken, profile, done) => {
try {
done(null, profile);
console.log('profile: ', profile);
} catch (error) {
done(error, false, error.message);
}
}));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions