TypeScript Auth

Open-source TypeScript projects categorized as Auth

Top 23 TypeScript Auth Projects

  • next-auth

    Authentication for the Web.

  • Project mention: Low-Code Backend Solution for Refine.dev Using Prisma and ZenStack | dev.to | 2024-05-27

    Auth.js (successor of NextAuth) is a flexible authentication library that supports many authentication providers and strategies. Although you can use many external services for auth, simply storing everything inside your database is often the easiest way to get started.

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

    Authentication, simple and clean

  • Project mention: Lucia: Authentication, Simple and Clean | news.ycombinator.com | 2024-06-06
  • 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
  • nestjs-boilerplate

    NestJS boilerplate. Auth, TypeORM, Mongoose, Postgres, MongoDB, Mailing, I18N, Docker.

  • Project mention: BC Boilerplates: Recent Updates | dev.to | 2024-06-12

    New features of nestjs-boilerplate are related to the running tests in watchAll mode and CLI usability:

  • node-casbin

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

  • auth-module

    Zero-boilerplate authentication support for Nuxt 2

  • foal

    Full-featured Node.js framework, with no complexity. πŸš€ Simple and easy to use, TypeScript-based and well-documented.

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

    Simple Authentication for Remix

  • Project mention: Remix loader api fetching with jwt | /r/react | 2023-12-06
  • 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.

  • angular-auth-oidc-client

    npm package for OpenID Connect, OAuth Code Flow with PKCE, Refresh tokens, Implicit Flow

  • auth-helpers

    A collection of framework specific Auth utilities for working with Supabase.

  • Project mention: Supabase Authentication Issue with Next.js 13.4 - !session vs !user | /r/Supabase | 2023-07-04

    I have encountered a similar issue, but I haven't fully found a solution yet. Currently, I'm using the getSession function throughout my server components. Yesterday, I tried running a middleware to refresh the user's session, based on this example: https://github.com/supabase/auth-helpers/blob/main/examples/nextjs/middleware.tsx. This caught my attention because the comment mentioned that the middleware is necessary for any Server Component route using createServerComponentClient. Right now, I'm testing this approach, and so far, I haven't been logged out since yesterday. Do you have that in your application? The main difference between getSession and getUser in supabase is that getSession reads the cookies and is very fast (around 1-2 ms), while getUser makes a call to the supabase API with the access token to retrieve the user and I would assume they also verify the JWT on their end.

  • sk-auth

    Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization!

  • react-auth-kit

    Powerful Auth Management library for ReactJs-based applications

  • stack

    Open-source user authentication & management (by stack-auth)

  • Project mention: Show HN: Stack, the open-source Clerk/Firebase Auth alternative | news.ycombinator.com | 2024-04-14

    It is very close to the default theme, here you can find the custom CSS

    https://github.com/stackframe-projects/stack/blob/main/docs/...

  • auth-ui

    Pre-built Auth UI for React

  • Project mention: Supabase – General Availability Week | news.ycombinator.com | 2024-04-15

    Supabase is great - I use them now and they and would be my choice for a new project today - but I have to say I am not a huge fan of how they communicated the whole auth-helpers and ssr situation, and I am not the only one with this comment by a long shot. This is, I think, a part of wider issues with their documentation; it seems like whoever's doing documentation at Supabase is intelligent but stretched thin. Particularly for Sveltekit, the documentation and examples are incomplete, there isn't any guide to migration or how to modify your code, and if you Google things or follow any links or examples you quickly end up in a web of deprecated repositories where it's unclear what to do next or replace them with. One example: https://github.com/supabase-community/auth-ui

    If you produce a product for developers, you really need to have 1) quality, readable documentation with an introduction that noobs and pros alike can follow, 2) multiple complete, cloneable examples on how to integrate and use your product in several different libraries, 3) obvious migration guides and timelines whenever you deprecate something. Supabase lacks all three, which is extremely frustrating and means there's always a giant caveat when I recommend them. They're still the best, it's a very powerful and impressive product, and the possibility of self-hosting is amazing.

  • react-query-auth

    βš›οΈ Authenticate your react applications easily with react-query.

  • clerk-nextjs-demo-app-router

    Auth starts here with the official Next.js starter utilizing the app directory

  • Project mention: Clerk Webhooks: Getting Started | dev.to | 2023-11-28

    git clone https://github.com/clerkinc/clerk-next-app.git`

  • graphql-directive-auth

    GraphQL directive for handling auth

  • rollupid

    Open Source and OIDC compliant digital identity for the private web

  • clerk-nextjs-app-quickstart

    The official companion repo for Clerk's Next.js Quickstart using the app router

  • Project mention: Build a simple code snippet manager with Neon’s serverless driver, Clerk, and Nextjs | dev.to | 2024-02-12

    git clone https://github.com/clerk/clerk-nextjs-app-quickstart

  • blueauth

    πŸ” Serverless passwordless authentication. No databases needed. Use in just 1 line in serverless, middleware, express, next.js, and more.

  • authey

    Universal support for Auth.js.

  • Project mention: Nuxt 3 vs NextJS 13 | /r/Nuxt | 2023-06-20

    In any case you want to roll your own auth easily, you can use https://github.com/wobsoriano/authey. Nuxt usage is there, you will have to make your own composables, though.

  • create-xp-app

    πŸ’»πŸ“² Opionionated fullstack cross-platform app starter for Nextjs and Expo with up to 100% code sharing

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

Log in or Post with

TypeScript Auth related posts

  • Lucia: Authentication, Simple and Clean

    1 project | news.ycombinator.com | 6 Jun 2024
  • Supabase – General Availability Week

    7 projects | news.ycombinator.com | 15 Apr 2024
  • Lucia: Auth library in TypeScript to manage the complexity of handling sessions

    1 project | news.ycombinator.com | 27 Jan 2024
  • Lucia: Authentication, Simple and Clean

    1 project | news.ycombinator.com | 5 Jan 2024
  • New comers to Svelte from React, is there something I miss?

    3 projects | /r/sveltejs | 9 Dec 2023
  • What's the Best Way to Setup TypeScript With Node + Express?

    3 projects | /r/node | 9 Dec 2023
  • Supabase MagicLink

    1 project | /r/Nuxt | 7 Dec 2023
  • A note from our sponsor - SurveyJS
    surveyjs.io | 15 Jun 2024
    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. Learn more β†’

Index

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

Project Stars
1 next-auth 22,863
2 lucia 8,115
3 logto 7,535
4 nestjs-boilerplate 2,619
5 node-casbin 2,508
6 auth-module 1,910
7 foal 1,869
8 remix-auth 1,844
9 zenstack 1,783
10 angular-auth-oidc-client 1,106
11 auth-helpers 892
12 sk-auth 575
13 react-auth-kit 513
14 stack 473
15 auth-ui 462
16 react-query-auth 320
17 clerk-nextjs-demo-app-router 176
18 graphql-directive-auth 138
19 rollupid 135
20 clerk-nextjs-app-quickstart 89
21 blueauth 59
22 authey 46
23 create-xp-app 43

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