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

  • logto

    🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.

  • Project mention: Logto v1.12.0 - Organizations, SSO, and MFA | /r/selfhosted | 2023-12-06
  • node-casbin

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

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

    SurveyJS logo
  • accesscontrol

    Role and Attribute based Access Control for Node.js

  • zenstack

    Typescript toolkit on top of Prisma ORM, offering flexible and declarative Access Control Policy(Authorization/Permission) for RBAC/ABAC/PBAC/ReBAC with auto-generated type-safe APIs and frontend hooks.

  • Project mention: The Many Ways Not to Build an API | dev.to | 2024-04-01

    Another strategy is to model access control declaratively and enforce it in the application layer. ZenStack (built above Prisma ORM) and Hasura are good examples of this approach. The following code shows how access policies are defined with ZenStack and how a secured CRUD API can be derived automatically.

  • express-mongodb-rest-api-boilerplate

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

  • react-auth-kit

    Powerful Auth Management library for ReactJs-based applications

  • oauth4webapi

    OAuth 2 / OpenID Connect for JavaScript Runtimes

  • Project mention: Learn OAuth by building a client with Node.js | news.ycombinator.com | 2024-04-16

    For those looking for production-level OAuth libs, the absolute best implementation for JS runtimes is https://github.com/panva/oauth4webapi

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

    WorkOS logo
  • json-server-auth

    Authentication & Authorization flow for JSON Server

  • fedramp-automation

    FedRAMP Automation

  • Project mention: Using the FedRAMP Automation (OSCAL) GitHub Release | /r/GovIT | 2023-08-11

    I've been reading this guide to learn more about the XML and JSON files included in the FedRAMP Automation release, but I'm having a hard time making sense of it (I'm not a software developer).

  • ms-identity-javascript-angular-tutorial

    A chapterwise tutorial that will take you through the fundamentals of modern authentication with Microsoft identity platform in Angular using MSAL Angular v2

  • angular-authentication

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

  • ts-odd

    An SDK for building apps with decentralized identity and storage.

  • react-role

    Lightweight role based access management solution for React applications

  • 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: Open source P2P alternative to Slack and Discord built on Tor and IPFS | news.ycombinator.com | 2023-09-11

    Re: key distribution, we're just changing it now but in a few days the scheme will be:

    1. a community member sends you an invite link containing some onion addresses of community members

    2. you sync community data and send a CSR to the community owner.

    3. We show an "unregistered" message next to your name until the community owner signs your CSR, at which point you're a full member.

    We use PKI.js for the certs. For multi-party message-layer encryption with multi-device support we plan on using: https://github.com/local-first-web/auth, which is inspired by Keybase and a Martin Kleppmann paper.

  • extensive-react-boilerplate

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

  • Project mention: Extensive React Boilerplate to kickstart a new frontend project | dev.to | 2024-02-14

    How much time do we typically spend on project setup? We're talking about configuring installed libraries and writing boilerplate code to structure and implement best practices for achieving optimal website performance. At Brocoders, we often start new projects from scratch. That's why over 3 years ago, we created a NestJS boilerplate for the backend so that we wouldn't have to spend time developing core functionality that the end user doesn't see but is crucial for developers. Over this time, the boilerplate has received 1.9k stars on GitHub and has gained significant popularity beyond our company. Now, we've decided to take it a step further and created the Extensive React Boilerplate for the frontend. Its purpose is to keep our best practices in project development together, avoiding familiar pitfalls and reducing development time.

  • graphql-directive-auth

    GraphQL directive for handling auth

  • blitz-guard

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

  • vue-simple-acl

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

  • nexus-shield

    🛡 Nexus plugin to ease the creation of the authorization layer

  • web-auth-library

    Authentication library for the browser environment using Web Crypto API

  • gitclub

    Realistic examples of using Oso in an application for authorization. Built for multiple different backends.

  • ecommerce-backend

    E-Commerce API to practice NestJS and Prisma ORM (by alvaromrveiga)

  • angular-14-jwt-auth

    Angular 14 JWT Authentication & Authorization with Web API and HttpOnly Cookie - Token Based Auth, Router, Forms, HttpClient, BootstrapBootstrap

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

    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 related posts

Index

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

Project Stars
1 logto 7,211
2 node-casbin 2,471
3 accesscontrol 2,118
4 zenstack 1,598
5 express-mongodb-rest-api-boilerplate 586
6 react-auth-kit 492
7 oauth4webapi 483
8 json-server-auth 307
9 fedramp-automation 244
10 ms-identity-javascript-angular-tutorial 199
11 angular-authentication 192
12 ts-odd 178
13 react-role 178
14 auth 169
15 extensive-react-boilerplate 143
16 graphql-directive-auth 138
17 blitz-guard 133
18 vue-simple-acl 123
19 nexus-shield 93
20 web-auth-library 86
21 gitclub 54
22 ecommerce-backend 46
23 angular-14-jwt-auth 30

Sponsored
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.
www.influxdata.com