JavaScript Authorization

Open-source JavaScript projects categorized as Authorization

Missing quite a few other open source projects in this space like SuperTokens (https://supertokens.com) and Keycloak.

Top 23 JavaScript Authorization Projects

Authorization
  1. CASL

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

    Project mention: 🔐 Modern Type-Safe Permission Management via Permix | dev.to | 2025-01-23

    Later, I started using CASL for permission management in a Vue application.

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. Grant

    OAuth Proxy

  4. node-oidc-provider

    OpenID Certified™ OAuth 2.0 Authorization Server implementation for Node.js

  5. generator-starhackit

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

  6. auth0.js

    Auth0 headless browser sdk

  7. rbac

    Hierarchical Role Based Access Control for NodeJS

  8. jso

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

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. mern-boilerplate

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

  11. node-js-jwt-auth-mongodb

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

  12. iamfast

    Repository for iamfast questions and issues

  13. ms-identity-javascript-tutorial

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

  14. supertokens-website

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

  15. AuthenticationSystem

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

  16. hai-server

    Build JSON API with authentication in just minutes.

  17. MineflayerAutoAuth

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

  18. node-rbac

    Examples of RBAC implementations in Node.js

  19. express-jwt-cerbos

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

  20. 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)

  21. security-architecture

    A Security Architecture covering Authentication, Authorization using Certs, mTLS, JWT, Nginx Keycloak and OPA

  22. express-okta-cerbos

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

  23. team-permissions

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

  24. insulo

    InsuloJS components for React based applications

  25. AuthenticationSystem

    This repo serves the purpose of implementing session based authentication for modern-day web applications. (by harris-ahmad)

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

JavaScript Authorization discussion

Log in or Post with

JavaScript Authorization related posts

  • Linear sent me down a local-first rabbit hole

    5 projects | news.ycombinator.com | 8 Aug 2025
  • CASL – Isomorphic authorization JavaScript library

    1 project | news.ycombinator.com | 24 Jan 2024
  • Stop using JSON Web Tokens for user sessions

    3 projects | news.ycombinator.com | 25 Nov 2023
  • Firefox Finally Outperforming Google Chrome in SunSpider

    8 projects | news.ycombinator.com | 15 Aug 2023
  • API Limiting: Best Practices and Implementation

    2 projects | dev.to | 1 May 2023
  • what you do or the user does when he reached their rate limits ?

    1 project | /r/node | 24 Apr 2023
  • Want to make restricted access with Cognito

    1 project | /r/aws | 3 Apr 2023
  • A note from our sponsor - Sevalla
    sevalla.com | 1 Sep 2025
    Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more →

Index

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

# Project Stars
1 CASL 6,506
2 Grant 4,166
3 node-oidc-provider 3,519
4 generator-starhackit 1,279
5 auth0.js 1,027
6 rbac 1,002
7 jso 886
8 mern-boilerplate 496
9 node-js-jwt-auth-mongodb 354
10 iamfast 174
11 ms-identity-javascript-tutorial 141
12 supertokens-website 52
13 AuthenticationSystem 31
14 hai-server 18
15 MineflayerAutoAuth 17
16 node-rbac 12
17 express-jwt-cerbos 11
18 nest-GoogleAuth 9
19 security-architecture 6
20 express-okta-cerbos 5
21 team-permissions 4
22 insulo 3
23 AuthenticationSystem 3

Sponsored
Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com