Archive of stories published by Passport.js

Fixing Session Fixation

Version 0.6.0 of passport has been released, which improves robustness against classes of session fixation attacks. Being a security enhancement, I’d advise upgrading as soon as possible. But first, let’s look at the problem and the enhancements introduced in this release in order to…


Passport v0.5.3

This release reverts a change introduced in v0.5.1, with passport.initialize() middleware again extending requests with login(), logIn(), logout(), logOut(), isAuthenticated(), and isUnauthenticated() functions. This now correctly matches the behavior in v0.5.0, with only versions 0.5.1 and 0.5.2…


Go Passwordless with WebAuthn

The initial version of passport-fido2-webauthn has been released! This strategy expands the Passport ecosystem with a strategy capable of strongly authenticating a user in a fully passwordless manner.


No Access Token, No Service

Version 1.6.1 of passport-oauth2 has been released. This version responds immediately with an HTTP error in situations when, upon exchanging the authorization code for an access token, the authorization server responds with a successful response, but that response is missing an…


Passport v0.5.2

After the release of v0.5.1, there were reports of breaking changes. From the perspective of the passport package itself, there should not have been any breakage. After investigating the reports, however, it was confirmed that issues arose when using certain strategies — passport-azure-ad (which is…

These were the top 10 stories published by Passport.js; you can also dive into yearly archives: 2019, 2021, and 2022.

About
Passport.js
Simple, unobtrusive authentication for Node.js
More information
Tags
Editors