Skip to content
Samuel S. Donovan edited this page Feb 2, 2022 · 13 revisions

express-auth is a simple, customizable authentication and authorization manager for express-based applications.

While express-auth provides default in-memory user, group, and session managers, these can easily be overridden with developer-provided interfaces.

Usage

Setup


Dependencies

express-auth is built specifically to be used with Express web framework for Node.js

Express is distributed under the Creative commons license.

express-auth uses cookies to track sessions, and cookie-parser makes this easier, as well as allow for the use of signed cookies.

cookie-parser is distributed under the MIT license.

express.json() (optional)

Used by the auth.login.endpoint for the username and password. Does not need to be used if auth.login.endpoint is never used.

This module is included with Express.

License

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.

Clone this wiki locally