Skip to content
JS
Package category

Authentication and authorisation

Log users in, issue tokens, manage sessions and permissions.

735 packages4 comparisons

Packages compared

735 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
passport-local-mongoose
Mongoose plugin that simplifies building username and password login with Passport
26.9k+40%-4 months ago
9.1.0
CommonJSBundledAuthentication and authorisation
vue3-google-login
Add a Login with Google feature to your Vue 3 application using Google Identity Services
26.3k+28%-4 months ago
2.1.4
ESM + CommonJSBundledAuthentication and authorisation, Vue
@better-auth/redis-storage
Redis storage for Better Auth secondary storage
25.1k---1 day ago
1.7.6
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
passport-cookie
Cookie authentication strategy for Passport
25.1k+48%-5 years ago
1.0.9
CommonJSNoneAuthentication and authorisation
@davidzemon/passport-okta-oauth
Passport strategy for authenticating with Okta using OAuth 2.0.
24.7k---1 year ago
0.0.7
CommonJSBundledAuthentication and authorisation
@better-auth/i18n
i18n plugin for Better Auth - translate error messages
24.3k---1 day ago
1.7.6
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
@auth/pg-adapter
Postgres adapter for next-auth.
23.9k---2 months ago
1.11.3
ESM onlyBundledAuthentication and authorisation
tauri-plugin-clerk
An unofficial Tauri SDK for Clerk
23.8k+438043%-6 months ago
0.1.1
ESM onlyBundledAuthentication and authorisation
@nylas/react
React components and hooks for Nylas API integration
23.7k---2 days ago
3.2.17
ESM + CommonJSBundledReact, Authentication and authorisation
oauth-pkce
OAUTH PKCE code_verifier and code_challenge generator
23.6k+139%-2 years ago
0.0.7
CommonJSBundledAuthentication and authorisation
@netlify/identity
Headless auth functions for Netlify Identity. Import { login, getUser } and call them. No init, no class, no UI.
23.2k---1 month ago
2.0.0
ESM + CommonJSBundledAuthentication and authorisation, Cloud SDKs
@colyseus/auth
Authentication Utilities for Colyseus
22.9k---2 days ago
0.18.3
ESM + CommonJSBundledAuthentication and authorisation
passport-totp
TOTP authentication strategy for Passport.
22.7k+76%-11 years ago
0.0.2
CommonJSNoneAuthentication and authorisation
@capgo/capacitor-passkey
Capacitor passkey plugin with a WebAuthn-style shim for Capacitor apps.
22k---10 days ago
8.5.2
ESM + CommonJSBundledAuthentication and authorisation
@ory/nextjs
This package contains the Next.js SDK for Ory. It provides a set of React components, server-side components, and hooks to interact with the Ory ecosystem. Supports both app and page routers.
21.3k---7 months ago
1.0.0-rc.1
ESM + CommonJSBundledAuthentication and authorisation, React
@okta/configuration-validation
Configuration validation support for Okta JavaScript SDKs
21.2k---4 years ago
1.1.0
ESM + CommonJSBundledAuthentication and authorisation
@greatsumini/react-facebook-login
Well-typed React Component for Facebook Login
20.8k---1 year ago
3.4.0
CommonJSBundledAuthentication and authorisation, React
@hapi/bell
Third-party login plugin for hapi
20.8k---16 days ago
13.2.0
CommonJSBundledAuthentication and authorisation
@neondatabase/neon-js
TypeScript SDK for Neon Auth and Data API - authentication and PostgreSQL querying
20.4k---1 month ago
0.7.0-beta
ESM onlyBundledAuthentication and authorisation, TypeScript tooling
@ory/elements-react
Ory Elements React - a collection of React components for authentication UIs.
20.4k---1 month ago
1.2.1
ESM + CommonJSBundledAuthentication and authorisation, React
netlify-identity-widget
Netlify Identity widget for easy integration
20.1k-7%-6 months ago
2.0.3
ESM onlyNoneAuthentication and authorisation, Cloud SDKs
balena-auth
Balena session authentication utilities
20k+144%-3 months ago
6.1.1
CommonJSBundledAuthentication and authorisation
koa-basic-auth
Blanket basic auth middleware for koa
19.9k+69%-7 years ago
4.0.0
-NoneAuthentication and authorisation
saslmechanisms
JavaScript framework for SASL authentication.
19.7k+95%-13 years ago
0.1.1
CommonJSNoneAuthentication and authorisation
sasl-plain
JavaScript implementation of PLAIN SASL mechanism.
19.7k+122%-13 years ago
0.1.0
CommonJSNoneAuthentication and authorisation, Security
@axa-fr/react-oidc
OpenID Connect & OAuth authentication using react
19.1k---5 days ago
7.29.6
ESM + CommonJSBundledAuthentication and authorisation, React
@speechmatics/auth
Library for fetching temporary keys for Speechmatics APIs
19.1k---1 year ago
0.1.0
ESM + CommonJSBundledAuthentication and authorisation
shopify-token
Get an OAuth 2.0 access token for the Shopify API with ease
18.9k+84%-3 years ago
4.1.0
CommonJSBundledAuthentication and authorisation
samlp
SAML Protocol server middleware
18.7k-8%-5 months ago
8.0.0
CommonJSNoneAuthentication and authorisation
@toruslabs/torus-embed
Embed script for Torus
18.4k---4 months ago
7.0.0
ESM + CommonJSBundledAuthentication and authorisation, Blockchain and Web3
corsair
Open-source integration layer for AI agents and apps. Managed OAuth, webhooks, and one API for 350+ integrations, with credentials that stay in your own database.
18k+477730%-1 day ago
0.1.138
ESM onlyBundledAuthentication and authorisation
ghauth
Create and load persistent GitHub authentication tokens for command-line apps
17.8k-14%-1 month ago
7.0.14
ESM onlyNoneAuthentication and authorisation
fortmatic
Fortmatic Javascript SDK
17.3k+1%-4 years ago
2.4.0
CommonJSBundledBlockchain and Web3, Authentication and authorisation
@aws/aurora-dsql-node-postgres-connector
An AWS Aurora DSQL connector with IAM authentication for node-postgres
16.9k---4 months ago
0.1.9
ESM + CommonJSBundledAuthentication and authorisation, Cloud SDKs
react-facebook
The Facebook SDK for React — Login, Pixel tracking, Share, Like, Comments, Graph API, and more. TypeScript-first, SSR-safe, works with Next.js App Router.
15.8k-48%-6 months ago
11.0.2
ESM + CommonJSBundledStatic site generators and meta-frameworks, React
next-firebase-auth-edge
Next.js Firebase Authentication for Edge and server runtimes. Compatible with latest Next.js features.
15.8k+47%-1 month ago
1.12.1
ESM + CommonJSBundledAuthentication and authorisation, Cloud SDKs
passport-slack-oauth2
[Passport](https://github.com/jaredhanson/passport) strategy for authenticating with [Slack](https://slack.com) using the OAuth 2.0 API.
15.7k+55%-3 years ago
1.2.0
CommonJSNoneAuthentication and authorisation
@piotr-agier/google-drive-mcp
Secure access to Google Drive, Docs, Sheets, Slides, and Calendar through MCP.
15.4k---6 days ago
2.11.0
ESM onlyNoneAuthentication and authorisation
axios-oauth-1.0a
Easily add OAuth 1.0a signing to your axios client
15.3k+13%-7 months ago
0.4.1
ESM + CommonJSBundledAuthentication and authorisation
angular-permission
Fully featured role and permission based access control for your angular applications
15.3k+121%-8 years ago
6.0.0
CommonJSNoneAuthentication and authorisation, Angular
sasl-scram-sha-1
JavaScript implementation of SCRAM-SHA-1 SASL mechanism.
15.2k+123%-7 months ago
1.4.0
CommonJSNoneAuthentication and authorisation, Security
sasl-anonymous
JavaScript implementation of ANONYMOUS SASL mechanism.
15.1k+110%-13 years ago
0.1.0
CommonJSNoneAuthentication and authorisation, Security
@gongrzhe/server-gmail-autoauth-mcp
Gmail MCP server with auto authentication support
14.8k---1 year ago
1.1.11
ESM onlyNoneAuthentication and authorisation
mcp-auth
Plug and play auth for Model Context Protocol (MCP) servers
14.7k+3872%-25 days ago
1.0.0-beta.1
ESM onlyBundledAuthentication and authorisation
react-social-login-buttons
Simple social login buttons for React
14.3k+25%-1 year ago
4.1.1
CommonJSBundledAuthentication and authorisation, React
@hapi/jwt
JWT (JSON Web Token) Authentication
14.3k---3 months ago
3.2.4
CommonJSBundledAuthentication and authorisation
svelte-clerk
Svelte Clerk is the easiest way to add authentication and user management to your Svelte and SvelteKit applications. Add sign up, sign in, and profile management to your application in minutes.
14.3k+351%-11 days ago
1.2.0
ESM onlyBundledAuthentication and authorisation, Svelte
@sbaiahmed1/react-native-biometrics
React Native biometric authentication library for iOS and Android. Easy integration of Face ID, Touch ID, and Fingerprint authentication with TypeScript support. Compatible with new architecture (TurboModules) and Expo. Secure mobile login solution.
14k---16 days ago
0.16.1
ESM + CommonJSBundledAuthentication and authorisation, React
twitter
Twitter API client library for node.js
13.8k-9%-9 years ago
1.7.1
CommonJSNoneAuthentication and authorisation
@govtechsg/passport-openidconnect
OpenID Connect authentication strategy for Passport.
13.7k---1 year ago
1.0.3
CommonJSBundledAuthentication and authorisation

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.