Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Clarify how to establish a new session with passport/express appplication #105

Open
eugenio opened this issue Oct 12, 2015 · 2 comments
Open

Comments

@eugenio
Copy link

eugenio commented Oct 12, 2015

How to establish a new session with passport in express 4.x application?
in my view if I

console.log(req.session_state)

I get "undefined"

@Mithgol
Copy link

Mithgol commented Dec 20, 2015

@eugenio

Is it possible for Passport's session to rewrite Mozilla's session somehow?

Could you try adding { session: false } as the second parameter to the Passport's passport.authenticate method and see what happens?

@Mithgol
Copy link

Mithgol commented Dec 22, 2015

Using two different session middleware modules might be actually a separate issue.

(I've just opened issue #107 because of it.)

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

2 participants