OAuth Libraries for Node.js
Here you'll find the best Node.js libraries for building OAuth clients and servers.
Client Libraries
- openid-client. OpenID Certified™ OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
- oauth4webapi. OpenID Certified™ Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
- Grant 200+ OAuth providers for Express, Koa, Hapi, Fastify, AWS Lambda, Azure, Google Cloud, Vercel
- PassportJS
- arctic. OAuth 2.0 clients for popular providers
- oidc-client-ts. Library to provide OpenID Connect and OAuth2 protocol support for client-side, browser-based JavaScript client applications.
Server Libraries
- @node-oauth/oauth2-server. Complete, compliant and well tested module for implementing an OAuth2 server in Node.js
- oidc-provider. OpenID Certified™ Provider implementation for Node.js
- NodeJS OAuth 2.0 Provider
- Mozilla Firefox Accounts. A full stack Identity Provider system developed to support Firefox Marketplace and other services
- OAuth2orize: toolkit to implement OAuth2 Authorization Servers
- Authplane ts-sdk: JWT validation and OAuth 2.1 protocol primitives for Node.js resource servers, with Hono, NestJS, MCP, and FastMCP adapters
If you would like to add a library, you can edit this page.
oauth.net