NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3344 most downloaded on npm
Simple, unobtrusive authentication for Node.js.
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 2.3 years
Rarely documented
notes for 6 of 33 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
33 releases · first in 2011
Set req.authInfo by default when using the assignProperty option to authenticate() middleware. This makes the behavior the same as when not using the
req.authInfo by default when using the assignProperty option to
authenticate() middleware. This makes the behavior the same as when not using
the option, and can be disabled by setting authInfo option to false.authenticate(), req#login, and req#logout accept a keepSessionInfo: true option to keep session information after regenerating the session.
authenticate(), req#login, and req#logout accept a
keepSessionInfo: true option to keep session information after regenerating
the session.req#login() and req#logout() regenerate the the session and clear session
information by default.req#logout() is now an asynchronous function and requires a callback
function as the last argument.One column per quarter.
initialize() middleware extends request with login(), logIn(), logout(), logOut(), isAuthenticated(), and isUnauthenticated() functions again, reverti
initialize() middleware extends request with login(), logIn(),
logout(), logOut(), isAuthenticated(), and isUnauthenticated() functions
again, reverting change from 0.5.1.Introduced a compatibility layer for strategies that depend directly on passport@0.4.x or earlier (such as passport-azure-ad), which were broken by th
passport@0.4.x or earlier (such as passport-azure-ad), which were
broken by the removal of private variables in passport@0.5.1.Informative error message in session strategy if session support is not available.
authenticate() middleware, rather than initialize() middleware, extends
request with login(), logIn(), logout(), logOut(), isAuthenticated(),
and isUnauthenticated() functions.initialize() middleware extends request with login(), logIn(), logout(), logOut(), isAuthenticated(), and isUnauthenticated() functions.
initialize() middleware extends request with login(), logIn(),
logout(), logOut(), isAuthenticated(), and isUnauthenticated()
functions.login(), logIn(), logout(), logOut(), isAuthenticated(), and
isUnauthenticated() functions no longer added to http.IncomingMessage.prototype.userProperty option to initialize() middleware only affects the current
request, rather than all requests processed via singleton Passport instance,
eliminating a race condition in situations where initialize() middleware is
used multiple times in an application with userProperty set to different
values.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →