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. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth 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 high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    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. MineflayerAutoAuth

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

  17. express-jwt-cerbos

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

  18. node-rbac

    Examples of RBAC implementations in Node.js

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

  20. security-architecture

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

    Project mention: Designing a Secure Architecture for Distributed Systems | dev.to | 2024-08-25

    This open-source project addresses these challenges using several integrated technologies and solutions.

  21. express-okta-cerbos

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

  22. AuthenticationSystem

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

    Project mention: 🚀 Exciting News! | dev.to | 2024-07-15

    GitHub: https://github.com/harris-ahmad/AuthenticationSystem

  23. insulo

    InsuloJS components for React based applications

  24. team-permissions

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

  25. overhide-ethereum

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

  26. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit 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

  • 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
  • Hey guys. Any good idea to make so users can only send 20 api requests per hours in express node js. Any good package or code ? Thanks in advance

    2 projects | /r/node | 2 Feb 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 25 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. 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,335
2 Grant 4,146
3 node-oidc-provider 3,381
4 generator-starhackit 1,279
5 auth0.js 1,018
6 rbac 999
7 jso 886
8 mern-boilerplate 487
9 node-js-jwt-auth-mongodb 356
10 iamfast 175
11 ms-identity-javascript-tutorial 137
12 supertokens-website 53
13 AuthenticationSystem 31
14 MineflayerAutoAuth 16
15 express-jwt-cerbos 11
16 node-rbac 11
17 nest-GoogleAuth 9
18 security-architecture 5
19 express-okta-cerbos 5
20 AuthenticationSystem 3
21 insulo 3
22 team-permissions 3
23 overhide-ethereum 1

Sponsored
Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
www.civic.com

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?