TypeScript Authorization

Open-source TypeScript projects categorized as Authorization

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

Top 23 TypeScript Authorization Projects

Authorization
  1. logto

    🧑‍🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.

    Project mention: Empower your business: Connect AI tools to your existing service with access control | dev.to | 2025-04-09

    The CMS sample is based on Logto, a popular open-source identity platform that provides a comprehensive authentication and authorization solution, but the technical implementation is not the focus of this article.

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.

    SurveyJS logo
  3. unkey

    Open source API management platform

    Project mention: Unkeyed/unkey: open-source API management platform | news.ycombinator.com | 2024-10-12
  4. node-casbin

    An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser

  5. zenstack

    Full-Stack TypeScript toolkit that enhances Prisma ORM with flexible Authorization layer for RBAC/ABAC/PBAC/ReBAC, offering auto-generated type-safe APIs and frontend hooks.

    Project mention: Turning Your Database Into an MCP Server With Auth | dev.to | 2025-06-09

    ZenStack

  6. accesscontrol

    Role and Attribute based Access Control for Node.js

  7. eicrud

    An opinionated backend framework based on NestJS. Get your CRUD app up and running in no time! ⚙️🔒

    Project mention: Eicrud – The Fast-Track Node.js Framework | news.ycombinator.com | 2024-08-28
  8. oauth4webapi

    Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes

    Project mention: Show HN: Bknd – Firebase alternative that embeds into any React stack | news.ycombinator.com | 2025-03-25

    Similar to Firebase it's multi-strategy based. You can use a combo of email/password or OAuth/OIDC (internally using https://github.com/panva/oauth4webapi) – currently there are 2 pre-configured (Google, Github), but it's easy to extend, so requests are welcome.

    On the Authorization side, you can create roles and attach permissions to it. Those roles then get attached to users.

    Claims are transported via JWT, you can configure its lifetime, secret and hashing. Currently it's stateless, meaning the token is not checked in a session store. But if there is demand, I'd prioritize adding this. I'm mainly exactly looking for feedback to prioritize next additions.

    Hope this helps.

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. express-mongodb-rest-api-boilerplate

    A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose). Typescript

  11. react-auth-kit

    Powerful Auth Management library for ReactJs-based applications

  12. extensive-react-boilerplate

    Extensive React Boilerplate: ✔️NextJS ✔️Auth ✔️I18N ✔️MUI ✔️Forms

    Project mention: Mastering CRUD with NextJS | dev.to | 2024-12-05

    As we know, the acronym CRUD stands for Create, Read, Update, and Delete. This concept represents the fundamental operations that can be performed on any data. Let's consider working with CRUD operations using the example of the administrative panel user, where functionalities like adding, editing, and deleting users are implemented, along with retrieving information about them. The custom React hooks discussed below, handling data processing in React Query, pagination, error management, and more, are already integrated into the Extensive-React-Boilerplate. Naturally, you can leverage this boilerplate directly. In the following sections, we’ll share our insights on implementing these features.

  13. json-server-auth

    Authentication & Authorization flow for JSON Server

  14. auth

    Decentralized authentication and authorization for team collaboration, using a secure chain of cryptological signatures. (Formerly known as 🌮 Taco.) (by local-first-web)

    Project mention: Auth: Local-First Access Control | news.ycombinator.com | 2024-09-12

    Maybe you're missing some other context.

    Here's an article about local-first software: https://www.inkandswitch.com/local-first/

    Here's an article about why you might want this: https://medium.com/all-the-things/a-web-application-with-no-...

    Here's another article about a previous attempt at solving this problem: https://herbcaudill.com/words/20240602-local-first-auth

    and here's the associated readme for how that turned out: https://github.com/local-first-web/auth?tab=readme-ov-file#r...

  15. nuxt-authorization

    Authorization module for managing permissions inside a Nuxt app.

    Project mention: Nuxt Authorization: How to Implement Team Role-Based Access Control in Nuxt 3 | dev.to | 2024-12-04

    nuxt-authorization for defining abilities

  16. angular-authentication

    An Angular application that demonstrates best practices for user authentication & authorization flows.

  17. restaurant

    Restaurant Management System is a user-friendly web application that revolutionizes the dining experience by allowing customers to conveniently customize and place their orders directly from their smartphones. Built with NestJs and React (by olasunkanmi-SE)

  18. react-role

    Lightweight role based access management solution for React applications

  19. ts-odd

    An SDK for building apps with decentralized identity and storage.

  20. AuthV5-Toolkit

    Advanced custom authentication for Next.js applications with Auth.js V5. Authentication with providers and credentials.

  21. graphql-directive-auth

    GraphQL directive for handling auth

  22. vue-simple-acl

    A simple unopinionated Vue plugin for managing user roles and permissions, access-control list (ACL) and role-based access control (RBAC).

  23. blitz-guard

    Blitz Guard - The centralized permission based authorization for Blitz.js

  24. web-auth-library

    Authentication library for the browser environment using Web Crypto API

  25. nexus-shield

    🛡 Nexus plugin to ease the creation of the authorization layer

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

TypeScript Authorization discussion

Log in or Post with

TypeScript Authorization related posts

  • Turning Your Database Into an MCP Server With Auth

    3 projects | dev.to | 9 Jun 2025
  • Cloudlflare builds OAuth with Claude and publishes all the prompts

    18 projects | news.ycombinator.com | 2 Jun 2025
  • Show HN: Guantr

    1 project | news.ycombinator.com | 24 May 2025
  • Empower your business: Connect AI tools to your existing service with access control

    3 projects | dev.to | 9 Apr 2025
  • What is MCP (Model Context Protocol) and how it works

    3 projects | dev.to | 26 Mar 2025
  • 🔐 Modern Type-Safe Permission Management via Permix

    3 projects | dev.to | 23 Jan 2025
  • Building Multi-Tenant Apps Using Clerk's "Organization" and Next.js

    2 projects | dev.to | 25 Nov 2024
  • A note from our sponsor - Stream
    getstream.io | 11 Jul 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →

Index

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

# Project Stars
1 logto 10,385
2 unkey 4,851
3 node-casbin 2,754
4 zenstack 2,564
5 accesscontrol 2,255
6 eicrud 795
7 oauth4webapi 653
8 express-mongodb-rest-api-boilerplate 646
9 react-auth-kit 584
10 extensive-react-boilerplate 464
11 json-server-auth 338
12 auth 293
13 nuxt-authorization 295
14 angular-authentication 278
15 restaurant 195
16 react-role 194
17 ts-odd 177
18 AuthV5-Toolkit 151
19 graphql-directive-auth 136
20 vue-simple-acl 134
21 blitz-guard 133
22 web-auth-library 116
23 nexus-shield 94

Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?