Passport

screenshot of Passport
express

Simple, unobtrusive authentication for Node.js.

Overview:

Passport is authentication middleware for Node.js that is compatible with Express. Its main purpose is to authenticate requests using a set of plugins called strategies, providing flexibility to developers in making application-level decisions. Passport does not dictate routes or database schemas, allowing customization based on the developer's choices.

Features:

  • Strategies: Supports a wide range of strategies for authentication, such as username/password, OAuth, and OpenID.
  • Sessions: Maintains persistent login sessions by serializing and deserializing user data without restrictions on how user records are stored.
  • Middleware: Configurable middleware for Express or Connect-based applications with options for initializing and managing sessions.
express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.