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 β
Top 23 TypeScript Auth Projects
-
-
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.
-
-
logto
π§βπ The better identity infrastructure for developers and the open-source alternative to Auth0.
-
nestjs-boilerplate
NestJS boilerplate. Auth, TypeORM, Mongoose, Postgres, MongoDB, Mailing, I18N, Docker.
-
node-casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser
-
-
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.
-
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.
-
angular-auth-oidc-client
npm package for OpenID Connect, OAuth Code Flow with PKCE, Refresh tokens, Implicit Flow
-
-
sk-auth
Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization!
-
-
-
-
clerk-nextjs-demo-app-router
Auth starts here with the official Next.js starter utilizing the app directory
-
-
-
clerk-nextjs-app-quickstart
The official companion repo for Clerk's Next.js Quickstart using the app router
-
blueauth
π Serverless passwordless authentication. No databases needed. Use in just 1 line in serverless, middleware, express, next.js, and more.
-
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
Project mention: Low-Code Backend Solution for Refine.dev Using Prisma and ZenStack | dev.to | 2024-05-27Auth.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.
New features of nestjs-boilerplate are related to the running tests in watchAll mode and CLI usability:
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.
Project mention: Supabase Authentication Issue with Next.js 13.4 - !session vs !user | /r/Supabase | 2023-07-04I 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.
Project mention: Show HN: Stack, the open-source Clerk/Firebase Auth alternative | news.ycombinator.com | 2024-04-14It is very close to the default theme, here you can find the custom CSS
https://github.com/stackframe-projects/stack/blob/main/docs/...
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.
git clone https://github.com/clerkinc/clerk-next-app.git`
Project mention: Build a simple code snippet manager with Neonβs serverless driver, Clerk, and Nextjs | dev.to | 2024-02-12git clone https://github.com/clerk/clerk-nextjs-app-quickstart
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.
TypeScript Auth discussion
TypeScript Auth related posts
-
Lucia: Authentication, Simple and Clean
-
Supabase β General Availability Week
-
Lucia: Auth library in TypeScript to manage the complexity of handling sessions
-
Lucia: Authentication, Simple and Clean
-
New comers to Svelte from React, is there something I miss?
-
What's the Best Way to Setup TypeScript With Node + Express?
-
Supabase MagicLink
-
A note from our sponsor - SurveyJS
surveyjs.io | 15 Jun 2024
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 |