SaaSHub helps you find the best software and product alternatives Learn more โ
Top 23 TypeScript Auth Projects
-
NextAuth.js Simple and secure authentication
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
The issue I take with this stance is that people reading will put auth in the "too scary to implement" bucket mentally, and think it's fine to pay the Auth0 tax on every single project, even one with a few users.
This is a great resource to learn how to write it yourself, and things to take into consideration: https://lucia-auth.com/
IMO, this is one thing to implement carefully if need be (vs avoid altogether, as is the case of cryptography).
-
logto
๐งโ๐ The better identity infrastructure for developers and the open-source alternative to Auth0.
Project mention: Show HN: Logto โ Token Exchange, OIDC, and multi-tenancy | news.ycombinator.com | 2024-09-01 -
Project mention: Stack Auth (YC S24), the open-source Auth0 alternative, is hiring Founding SWEs | news.ycombinator.com | 2024-12-03
Hi HN! We're building Stack Auth (https://stack-auth.com/), an open-source managed authentication and authorization platform. Basically, we build your login and signup pages, and everything that comes with that.
You can find our customer pitch elsewhere, so instead I'll tell you more about us and the company. We are developers building for other developers, so you can think of everyone here as a devX engineer. We launched with a Show HN in April, and have been growing exponentially since.
Think of us as a fast-moving open-source infrastructure business. We spend a lot of time thinking about how we can maintain the agility of a startup while being as reliable as incumbents. Sometimes, this means new ideas; for example, we heavily rely on AI and snapshots for our E2E tests, and have API migration tooling that blows everyone else out of the water. If you have ideas like these, we want you.
We've sworn to keep a no-bullshit culture. We're all pulling on the same string; we don't keep secrets from each other and always assume good faith. We want to build the open-source cloud infrastructure of the future; we'd rather die trying than sell out for a quick buck.
We are (very) well-funded by investors such as YC, Paul Graham, Guillermo Rauch, Theo Browne, and Khosla Ventures. Our number one priority is to build an outstanding product that developers *really* love โ everything else comes second.
For now, we are exclusively hiring onsite in San Francisco; sadly, we don't currently have any remote positions. Optionally, you can move with us into our hacker house (both temporarily or permanent), but you can live in your own home too.
If that sounds like a great fit, email me mentioning that you're from HN and tell me why we caught your eye: konsti (at) stack-auth.com
Thanks all!
-
nestjs-boilerplate
NestJS boilerplate. Auth, TypeORM, Mongoose, Postgres, MongoDB, Mailing, I18N, Docker.
By following the examples and techniques outlined in this article, you should now be well-equipped to handle CRUD operations in your NextJS projects. Alternatively, you can use our Extensive-react-boilerplate template for your project. It has a fully compatible Nestjs-boilerplate backend that implements the ability to work with CRUD operations in minutes, without a single line of code using the CLI, we've covered this in more detail here and here for entity relationships. Keep experimenting, stay updated with best practices, and welcome to try this boilerplate if you find it useful.
-
node-casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser
-
zenstack
Fullstack 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: Automatically Generate REST and GraphQL APIs From Your Database | dev.to | 2024-12-19Prisma combined with ZenStack offers a more programmatic approach. While requiring more setup than PostgREST, it provides better TypeScript integration and more control over the generated API. This combination excels in projects where type safety and custom business logic are priorities.
-
Once our Cognito configuration details are retrieved and stored, we'll want to begin implementing our Authenticator instance. The library we'll use to make this process simple is the excellent Remix-Auth from Sergio Xalambrรญ. Remix Auth offers numerous strategies for handling authentication in a Remix application. We'll be using the OAuth2 strategy here.
-
Document address: @nuxtjs/auth-next official document
-
Version 4.5 of Foal, a full-featured Node.JS framework for building web applications, is out!
-
Project mention: Comparing Auth from Supabase, Firebase, Auth.js, Ory, Clerk and Others | news.ycombinator.com | 2024-10-23
Just facts:
* "You can think of us as an open source alternative to products like Auth0 or WorkOS." * from their GitHub's README: https://github.com/ssoready#:~:text=like%20Auth0%20or-,WorkO....
Single dev in contributors graph: https://github.com/ssoready/ssoready/graphs/contributors
Pre-pivot startup called Okapi: https://news.ycombinator.com/item?id=39755927
-
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!
-
-
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.
-
-
-
nextjs-auth-starter-template
A modern auth and user management starter template, built for the Next.js App Router and powered by Clerk
-
-
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-12git 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.
TypeScript Auth discussion
TypeScript Auth related posts
-
Placegoose: Building data APIs with HONC
-
Stack Auth (YC S24), the open-source Auth0 alternative, is hiring Founding SWEs
-
Better Auth โ The most comprehensive authentication library for TypeScript
-
Amazon tripled prices for the basic tier of their auth service Cognito
-
Comparing Auth from Supabase, Firebase, Auth.js, Ory, Clerk and Others
-
Why you should use Go
-
Lucia Auth is getting deprected
-
A note from our sponsor - SaaSHub
www.saashub.com | 13 Jan 2025
Index
What are some of the best open-source Auth projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | next-auth | 25,513 |
2 | lucia | 9,843 |
3 | logto | 9,194 |
4 | stack | 4,530 |
5 | nestjs-boilerplate | 3,353 |
6 | node-casbin | 2,658 |
7 | zenstack | 2,275 |
8 | remix-auth | 2,088 |
9 | auth-module | 1,936 |
10 | foal | 1,902 |
11 | ssoready | 1,327 |
12 | angular-auth-oidc-client | 1,161 |
13 | auth-helpers | 907 |
14 | sk-auth | 581 |
15 | react-auth-kit | 566 |
16 | auth-ui | 508 |
17 | react-query-auth | 375 |
18 | nuxt3-auth-example | 368 |
19 | nextjs-auth-starter-template | 268 |
20 | rollupid | 141 |
21 | clerk-nextjs-app-quickstart | 138 |
22 | graphql-directive-auth | 136 |
23 | blueauth | 60 |