10 Best Node.js Authentication Libraries

List hand-picked by Openbase Experts
Learn More

keycloak-js

keycloak-js

Open Source Identity and Access Management For Modern Applications and Services

Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
14.2K
Weekly Downloads
294K
Last Commit
8mos ago
User Rating
4.9/ 5
7
Top Feedback
pas

passport

Simple, unobtrusive authentication for Node.js.

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
20.3K
Weekly Downloads
1.6M
Last Commit
10mos ago
User Rating
4.4/ 5
140
Top Feedback
16Performant
14Easy to Use
14Highly Customizable
@feathersjs/authentication-jwt

@feathersjs/authentication-jwt

The API and real-time application framework

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
14.2K
Weekly Downloads
2.1K
Last Commit
8mos ago
User Rating
5.0/ 5
1
Top Feedback
po

passport-oauth2

OAuth 2.0 authentication strategy for Passport and Node.js.

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
549
Weekly Downloads
440K
Last Commit
1yr ago
User Rating
5.0/ 5
1
Top Feedback
1Easy to Use
supertokens-node

supertokens-node

Node SDK for SuperTokens core

Apache-2.0
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
195
Weekly Downloads
6.9K
Last Commit
9mos ago
pl

passport-local

Username and password authentication strategy for Passport and Node.js.

Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
2.6K
Weekly Downloads
630K
Last Commit
1yr ago
User Rating
Top Feedback
1Easy to Use
speakeasy

speakeasy

**NOT MAINTAINED** Two-factor authentication for Node.js. One-time passcode generator (HOTP/TOTP) with support for Google Authenticator.

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
2.6K
Weekly Downloads
137K
Last Commit
2yrs ago
pf

passport-facebook

Facebook authentication strategy for Passport and Node.js.

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
1.3K
Weekly Downloads
77.8K
Last Commit
1yr ago
pl

passport-ldapauth

LDAP authentication strategy for Passport

MIT
TypeScript Icon
TypeScript Definitions: Built-In
GitHub Stars
303
Weekly Downloads
17.8K
Last Commit
2yrs ago
User Rating
Top Feedback
1Easy to Use
per

permit

An unopinionated authentication library for building Node.js APIs.

MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
GitHub Stars
1.7K
Weekly Downloads
804
Last Commit
3yrs ago
pas

passwordless

node.js/express module to authenticate users without password

MIT
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
2K
Weekly Downloads
658
Last Commit
4yrs ago
phb

@novaedge/passport-http-bearer

HTTP Bearer authentication strategy for Passport and Node.js.

Unknown
TypeScript Icon
TypeScript Definitions: Not Found
GitHub Stars
937
Weekly Downloads
0
Last Commit
10mos ago