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
  • 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: PHP: Laravel, Ruby: Rails, JavaScript:? | dev.to | 2024-05-28

    The ZenStack toolkit I’m building on top of Prisma aims to narrow down the gap further. It adds an Authorization layer on top of the schema and then automatically generates both APIs and frontend hooks for you. So, put simply, once you're done with your schema, you're almost done with your backend. You can then choose whatever frontend framework, like React, Vue, or Svelte, to get your UI done.

  • express-mongodb-rest-api-boilerplate

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

  • 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

  • react-auth-kit

    Powerful Auth Management library for ReactJs-based applications

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

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

  • react-role

    Lightweight role based access management solution for React applications

  • ts-odd

    An SDK for building apps with decentralized identity and storage.

  • 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: Top 12+ Battle-Tested React Boilerplates for 2024 | dev.to | 2024-04-29

    The efficiency of using ESLint rules during the development of your project is also manifested in writing custom rules. Since ESLint has extensive functionality and flexibility, you can create not only formatting and rules but also consider internal project decisions. For example, working with forms, it is possible to control and warn developers about possible unnecessary renders, incorrect solutions when working with objects, or simply point out unused imports. For example, extensive-react-boilerplate addresses such issues as follows:

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

  • AuthV5-Toolkit

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

  • Project mention: Auth.js V5 Toolkit: Mastering Advanced Authentication in Next.js | dev.to | 2024-01-16

    Check my Repo @: Repo

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

TypeScript Authorization related posts

  • Show HN: ZenStack V2 – RLS alternative with declarative Auth rules in Prisma

    2 projects | news.ycombinator.com | 29 Apr 2024
  • How Much Work Does It Take to Build a Programming Language?

    1 project | dev.to | 22 Jan 2024
  • Modeling Authorization in Prisma - No Theory, Just Code

    3 projects | dev.to | 15 Jan 2024
  • How to Do Authorization - A Decision Framework: Part 1

    7 projects | dev.to | 14 Dec 2023
  • Logto v1.12.0 - Organizations, SSO, and MFA

    1 project | /r/selfhosted | 6 Dec 2023
  • 🚀 Top 12 Open Source Auth Projects Every Developer Should Know 🔑

    9 projects | dev.to | 6 Dec 2023
  • The TypeScript Access Control Library for Unmatched Typesafety

    2 projects | news.ycombinator.com | 4 Sep 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 7 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 logto 7,462
2 node-casbin 2,500
3 accesscontrol 2,118
4 zenstack 1,762
5 express-mongodb-rest-api-boilerplate 597
6 oauth4webapi 517
7 react-auth-kit 513
8 json-server-auth 312
9 fedramp-automation 250
10 ms-identity-javascript-angular-tutorial 203
11 angular-authentication 195
12 react-role 182
13 ts-odd 179
14 auth 188
15 extensive-react-boilerplate 196
16 graphql-directive-auth 138
17 blitz-guard 132
18 vue-simple-acl 123
19 nexus-shield 93
20 web-auth-library 89
21 gitclub 54
22 ecommerce-backend 52
23 AuthV5-Toolkit 42

Sponsored
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.io