Passport: Updating to 0.3.x from 0.2.x

Created on 4 Nov 2015  路  7Comments  路  Source: jaredhanson/passport

Hi,

I was looking for a changelog or history documentation. By reading the commits log it seems that the major change is related to session. One have to do app.use(passport.session()); now after initialize.

If I do not want to use sessions, is omitting app.use(passport.session()); will be enough? Or is {session: false} still relevant when invoking authenticate? I see it in the documentation still, but is it just a remainder of 0.2.x that need to be removed?

Most helpful comment

Ok, will answer to myself, {session: false} is still needed...

@jaredhanson could you consider the session option being false by default if passport.session() was not used, and true by default the other way?

All 7 comments

somehow linked #397 #375

Ok, will answer to myself, {session: false} is still needed...

@jaredhanson could you consider the session option being false by default if passport.session() was not used, and true by default the other way?

@jaredhanson please also consider maintaining a changelog.

@jaredhanson changelog please.

@jaredhanson +1 for a changelog!

The suggestion from @JSteunou about default session behavior also would make a lot of sense.

+1 for default session behavior

bump! for default session

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Gibbo3771 picture Gibbo3771  路  4Comments

puradox picture puradox  路  4Comments

itaditya picture itaditya  路  5Comments

callumacrae picture callumacrae  路  5Comments

fvgs picture fvgs  路  6Comments