JavaScript Authorization

Open-source JavaScript projects categorized as Authorization

Missing quite a few other open source projects in this space like SuperTokens ( and Keycloak.

Top 21 JavaScript Authorization Projects

  • CASL

    CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access

    Project mention: CASL – Isomorphic authorization JavaScript library | | 2024-01-24
  • Grant

    OAuth Proxy

    Project mention: Most stable and easy to implement Auth with SvelteKit? | /r/sveltejs | 2023-12-05
  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • generator-starhackit

    StarHackIt: React/Native/Node fullstack starter kit with authentication and authorisation, data backed by SQL, the infrastructure deployed with GruCloud

  • rbac

    Hierarchical Role Based Access Control for NodeJS (by seeden)

  • auth0.js

    Auth0 headless browser sdk

    Project mention: 🔥🚀 Top 10 Open-Source Must-Have Tools for Crafting Your Own Chatbot 🤖💬 | | 2023-11-06

    Get up to speed with Auth0. Support Auth0 on GitHub ⭐

  • jso

    Easy to use OAuth 2.0 javascript library for use in your javascript application.

  • mern-boilerplate

    Full stack boilerplate with React, Redux, Express, Mongoose, Passport Local, JWT, Facebook and Google OAuth out of the box.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • node-js-jwt-auth-mongodb

    Node.js + MongoDB: User Authentication & Authorization with JWT

    Project mention: I want my html login page to connect to a database and create accounts/log users in | /r/webdev | 2023-05-07
  • ms-identity-javascript-tutorial

    A chapterwise tutorial that will take you through the fundamentals of modern authentication with Microsoft identity platform in Vanilla JavaScript.

  • supertokens-website

    Frontend SDK for SuperTokens - for session management + automatically refreshing sessions

  • AuthenticationSystem

    A Simple API based Authentication System Implemented in nodejs and a Express template for creating Backend RestAPI

    Project mention: I found the simplest JWT authentication template | | 2023-09-09
  • MineflayerAutoAuth

    Micro module for mineflayer bot that interacts with server's chat auth

  • express-jwt-cerbos

    An example application of integrating Cerbos with an Express server using JSON Web Tokens - via express-jwt - for authentication.

  • node-rbac

    Examples of RBAC implementations in Node.js

  • nest-GoogleAuth

    Automates Google account login for Homebridge. Collects required token, cookie and api key automatically. Stores as a JSON for copy and paste. (by felipeazucares)

  • express-okta-cerbos

    An example stack of integrating Cerbos with an Express server using Okta for authentication and user management.

    Project mention: Okta + Cerbos Tutorial: Do not reinvent user permissions. | /r/okta | 2023-06-05

    Full guide: GitHub repo:

  • warrant-demo-app-ts

    Example demonstrating how to add end-to-end authorization & access control to an ExpressJS + React app using Warrant

  • insulo

    InsuloJS components for React based applications

  • team-permissions

    Team permissions system in the Node.js app using Auth0 and Permify

  • overhide-ethereum

    A very simple API to discover value transfers across Ethereum transactions in support of ledger-based authorizations.

  • ledgers.js

    JavaScript library for ledger-based authorizations :: abstracting different ledgers to be used in an application's authentication and authorization workflows.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-01-24.

JavaScript Authorization related posts


What are some of the best open-source Authorization projects in JavaScript? This list will help you:

Project Stars
1 CASL 5,552
2 Grant 4,021
3 generator-starhackit 1,279
4 rbac 976
5 auth0.js 967
6 jso 878
7 mern-boilerplate 414
8 node-js-jwt-auth-mongodb 333
9 ms-identity-javascript-tutorial 121
10 supertokens-website 54
11 AuthenticationSystem 32
12 MineflayerAutoAuth 13
13 express-jwt-cerbos 10
14 node-rbac 10
15 nest-GoogleAuth 8
16 express-okta-cerbos 5
17 warrant-demo-app-ts 4
18 insulo 3
19 team-permissions 3
20 overhide-ethereum 1
21 ledgers.js 0
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.