10 Best Express Authentication Libraries

List hand-picked by Openbase Experts
Learn More

pas

passport

Simple, unobtrusive authentication for Node.js.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.3/ 5
103
Top Feedback
16Performant
14Easy to Use
14Highly Customizable
GitHub Stars
20K
Weekly Downloads
1M
Last Commit
2mos ago

express-jwt

connect/express middleware that validates a JsonWebToken (JWT) and set the req.user with the attributes

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.3/ 5
7
Top Feedback
7Easy to Use
5Performant
3Great Documentation
GitHub Stars
4K
Weekly Downloads
587K
Last Commit
5mos ago
gra

grant

OAuth Proxy

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
4K
Weekly Downloads
91K
Last Commit
3mos ago
eak

@vpriem/express-api-key-auth

Tiny express middleware to authenticate x-api-key request header

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
3
Weekly Downloads
5K
Last Commit
2mos ago
oau

oauth2orize

OAuth 2.0 authorization server toolkit for Node.js.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
1Poor Documentation
1Hard to Use
GitHub Stars
3K
Weekly Downloads
51K
Last Commit
2mos ago
ce

cognito-express

Authenticates API requests on a Node application by verifying the JWT signature of AccessToken or IDToken generated by Amazon Cognito.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
185
Weekly Downloads
18K
Last Commit
8mos ago
put

passport-unique-token

Unique token authentication strategy for Passport

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
35
Weekly Downloads
4K
Last Commit
4mos ago
eba

express-basic-auth

Plug & play basic auth middleware for express

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
269
Weekly Downloads
227K
Last Commit
1mo ago
hae

hmac-auth-express

HMAC middleware for Express

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
14
Weekly Downloads
128
Last Commit
5mos ago

authmosphere

A library to support OAuth2 workflows in JavaScript projects

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
54
Weekly Downloads
713
Last Commit
3mos ago
ejf

express-jwt-fusionauth

Express middleware for JWT-based authentication against FusionAuth

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
50
Last Commit
5mos ago
ace

aws-cognito-express

Verification of Access and ID tokens issued by AWS Cognito for Node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
32
Weekly Downloads
136
Last Commit
5mos ago

@motionpicture/express-middleware

Express middlewares for Node.js

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
122
Last Commit
5mos ago
amj

auth-middleware-jwt

JsonWebToken middleware for any nodejs project

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
18
Last Commit
5mos ago
ej

express-jsonwebtoken

JsonWebToken (JWT) manager for express,

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
7
Weekly Downloads
45
Last Commit
7mos ago
tok

tokenauth

Simple express.js middleware to use a token for API authentication.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
24
Last Commit
2mos ago
ea

express-authenticators

Third party authenticators nodejs. Support various providers

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
8
Last Commit
2mos ago

express-eauth

ETH Authenticator package for Node

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
31
Weekly Downloads
175
Last Commit
3mos ago
eoj

express-oauth2-jwt-bearer

Authentication middleware for Express.js that validates JWT bearer access tokens.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
3K
Last Commit
N/A
cam

@andimeier/cas-authentication-middleware

CAS middleware for Node Express

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
38
Last Commit
7mos ago
bm

basicauth-middleware

Express js basicauth middleware

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
4
Weekly Downloads
2K
Last Commit
4mos ago
eba

@blossomfinance/express-basic-auth

Plug & play basic auth middleware for express

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
12
Last Commit
5mos ago
pas

passwordless

node.js/express module to authenticate users without password

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
1K
Last Commit
3yrs ago
eba

@tejaskumar/express-basic-auth

express middleware to perform http basic authentication

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
6
Last Commit
7mos ago
aut

@bcwdev/auth0provider

Express based wrapper around Auth0

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
86
Last Commit
7mos ago
ca

cas-authentication

A CAS authentication library designed to be used as middleware for an Express server.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
66
Weekly Downloads
793
Last Commit
6yrs ago
eaf

express-auth-flow

Authentication flow based on jwt for Express.js and Mongodb (signup, login, logout, forgot password)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
2
Last Commit
9mos ago
cca

client-certificate-auth

middleware for Node.js implementing client SSL certificate authentication/authorization

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
76
Weekly Downloads
618
Last Commit
8yrs ago
act

@seibert/atlassian-connect-tooling

Provides authentication & utility methods for Atlassian Connect apps running on Express.

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
323
Last Commit
N/A

auth0-extension-express-tools

A set of tools and utilities to simplify the development of Auth0 Extensions with Express

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
5
Weekly Downloads
5
Last Commit
8mos ago

cimpress-express-auth0

Express.js middleware designed for managing a web application's interactions with the Auth0 SDK.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
0
Last Commit
7mos ago
per

permission

Npm package for hangling user permissions for routes based on roles.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
70
Weekly Downloads
152
Last Commit
4yrs ago

@envoy/express-envoy-auth

Middleware to authenticate an Express application with Envoy

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
5
Last Commit
3mos ago
eve

everyauth

node.js auth package (password, facebook, & more) for Connect and Express apps

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
4K
Weekly Downloads
143
Last Commit
6yrs ago
et

express-toppatauth

A little package that allows to authenticate using the ToppatAuth Repl.

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
4
Last Commit
5mos ago
cau

cas-authentication-user

A CAS authentication library designed to be used as middleware for an Express server.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
1
Last Commit
5mos ago
sup

superlogin

Powerful authentication for APIs and single page apps using the CouchDB ecosystem which supports a variety of providers.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
373
Weekly Downloads
37
Last Commit
4yrs ago
ea

express-authentication

Unopinionated express middleware for authentication. Alternative to passport.

License Icon
License: CC0-1.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
32
Weekly Downloads
37
Last Commit
7yrs ago

express-zetkin-auth

Express middleware for dealing with Zetkin authentication and authorization

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
2
Last Commit
9mos ago

express-meshblu-auth

Express middleware to support all meshblu auth styles

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
24
Last Commit
4yrs ago
bae

bright-auth-expressjs

Verify provided auth token and add a `req.user` object providing information about the user.

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
16
Last Commit
N/A
esa

express-session-auth

express-session-auth npm package

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
13
Last Commit
1yr ago
ma

multipass-auth

API based authentication middleware for Nodejs/Express --WORK IN PROGRESS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
11
Last Commit
4yrs ago
ea

express-asap

ASAP middleware for express and a generic authenticator function which works without express

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
10
Last Commit
N/A
eah

express-authentication-header

Authenticate against any RFC7235 HTTP Authorization header, compatible with express-authentication.

License Icon
License: CC0-1.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
10
Last Commit
7yrs ago

client-certificate-auth-restify

Client certificate authentication middleware designed to work with restify.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
7
Last Commit
6yrs ago
ade

adenticator

Active Directory Authentication Middleware for Node.js Express

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
1
Last Commit
7mos ago
loc

lockit

Authentication solution for Express

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
449
Weekly Downloads
3
Last Commit
7yrs ago

crafity-everyauth

node.js auth package (password, facebook, & more) for Connect and Express apps

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
3
Weekly Downloads
3
Last Commit
8yrs ago
ela

express-local-auth

Express middleware that provides secure username/email and password authentication along with supporting features such as user registration and password management

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
7
Weekly Downloads
1
Last Commit
6yrs ago