SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 TypeScript Authentication Projects
-
Binding breaks one legitimate case: requesting on a laptop and opening the email on a phone. Give that person a six-digit code to type on the device where they started. What I wouldn't do is raise the reuse limit (Better Auth's allowedAttempts, for example) so the scanner and the user both get through. Setting it to Infinity isn't a fix. It's a longer fuse.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
None of these vendors says "we click your magic links." My read is that a one-time sign-in URL is the textbook detonation candidate: it's unique and has never been seen before, so it has no reputation. That fits the "magic link not working in Outlook" reports, too. In one long NextAuth thread, a developer describes it hitting "a lot of my corporate clients who rely on outlook," where company policy mandates Safe Links.
-
logto
🧑‍🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.
Microsoft Entra External ID is Microsoft's cloud-based CIAM service for customer-facing applications. It provides an external tenant customer directory, customizable authentication journeys, social and enterprise identity federation, multi-factor authentication, and integration with the Microsoft identity platform. It removes the need to operate an identity store, but it bills per monthly active user (MAU) above a free allowance of 50,000 MAU on the Basic tier, meters SMS phone verification separately by originating country, charges an additional per-MAU rate for the ID Governance add-on, and ties the directory and its authentication journeys to Microsoft Entra tenants. Logto is an open-source Customer Identity and Access Management (CIAM) platform built on the OAuth 2.1 and OpenID Connect (OIDC) standards, and it covers the same ground on self-hosted infrastructure without per-user billing or cloud provider API dependencies. It provides a branded sign-in experience, social and enterprise Single Sign-On (SSO) federation, multi-factor authentication (MFA), role-based access control (RBAC), organizations for multi-tenancy, and webhooks, and it stores every user, application, and role in a PostgreSQL database you control. This guide deploys Logto as an alternative to Microsoft Entra External ID with Docker Compose, Traefik, and automatic HTTPS, then covers the admin console, sign-in experience, connectors, enterprise SSO, MFA, RBAC, organizations, webhooks, and migration from Microsoft Entra External ID. By the end, you'll have a fully configured, self-hosted CIAM platform served securely over HTTPS.
-
InsForge
The all-in-one, open-source backend platform for agentic coding. InsForge gives your coding agent database, auth, storage, compute, hosting, and AI gateway to ship full-stack apps end-to-end.
Project mention: Bringing Razorpay to InsForge: Building a Production-Grade Payment Flow | dev.to | 2026-06-08PR #1382 — Foundational Provider & Sync PR #1485 — Webhook Infrastructure PR #1490 — Runtime Payment Flow
-
nebular
:boom: Customizable Angular UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
-
SaaS-Boilerplate
🚀🎉📚 SaaS Boilerplate built with Next.js + Tailwind CSS + Shadcn UI + TypeScript. ⚡️ Full-stack React application with Auth, Multi-tenancy, Roles & Permissions, i18n, Landing Page, DB, Logging, Testing
Project mention: Free vs Paid Next.js SaaS Boilerplates (2026): What You Actually Get | dev.to | 2026-11-02Verified: github.com/ixartz/SaaS-Boilerplate — MIT, demo at react-saas.com. README lists Next.js, Tailwind, shadcn/ui, Clerk auth, multi-tenancy with teams/roles, Drizzle, i18n, landing, dashboard, tests, and CI. Stripe is not the headline feature of the public README.
-
-
hexclave
The user infrastructure platform. You choose the frontend, backend, and database. Hexclave handles everything else.
Project mention: I optimised my vibe coding tech stack cost to $0 | news.ycombinator.com | 2026-01-02 -
material-kit-react
React Dashboard made with Material UI’s components. Our pro template contains features like TypeScript version, authentication system with Firebase and Auth0 plus many other
-
iron-session
đź› Secure, stateless, and cookie-based session library for Next.js or any JavaScript framework
-
-
amplify-cli
The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
-
-
-
-
Project mention: From fix CORS in Nuxt and found new better way to authenticate | dev.to | 2026-01-17
Finally I found nuxt module Nuxt Auth Utils created by Sébastien Chopin who initial the Nuxt Js. I have interested with this module when Sébastien announced back then. Before I watch Alex video on YouTube I have no idea how to use this module and when reading on the docs it was like everything in single Nuxt App without external API. Until this section I try think again from beginning I face CORS and now auth, I think how the logic working across app and how many line should I wrote.
-
nuxt-auth
Authentication built for Nuxt! Easily add authentication via OAuth providers, credentials or Email Magic URLs!
-
-
Project mention: Deploying a Laravel app on Google Cloud Run: the pitfalls and the fixes | dev.to | 2026-11-04
For authentication, the pipeline first used a service account key stored as a GitHub secret. In September 2026 it moved to Workload Identity Federation with Google's deploy action. The google-github-actions/auth documentation recommends federation because it "obviates the need to export a long-lived credential"; a key file never expires and must be treated like a password. The workflow needs the id-token: write permission.
-
-
Want to give it a try yourself? Head on over to the online Surrealist UI, go into the sandbox and run the following statements to set up the schema and seed data before running the query we just saw.
-
angular-auth-oidc-client
npm package for OpenID Connect, OAuth Code Flow with PKCE, Refresh tokens, Implicit Flow
-
hasura-backend-plus
🔑Auth and 📦Storage for Hasura. The quickest way to get Auth and Storage working for your next app based on Hasura.
TypeScript Authentication discussion
TypeScript Authentication related posts
-
Why Do Magic Links Expire Before the User Clicks?
-
Better Auth's November Security Release: What to Patch and Rotate Today
-
A boilerplate for Node.js apps / TypeScript
-
Better Auth with Next.js 16: proxy.ts, Prisma 7 and Server Actions (Tested Setup)
-
Free auth for vibe coding (2026)
-
Deploying Logto as a Microsoft Entra External ID Alternative
-
Don't Ship Dev Keys! Set Up Production-Ready Google OAuth in React
-
A note from our sponsor - SaaSHub
www.saashub.com | 14 Nov 2026
Index
What are some of the best open-source Authentication projects in TypeScript? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | better-auth | 30,712 |
| 2 | next-auth | 28,374 |
| 3 | logto | 14,927 |
| 4 | InsForge | 13,325 |
| 5 | nebular | 8,122 |
| 6 | SaaS-Boilerplate | 7,485 |
| 7 | deepstream.io | 7,180 |
| 8 | hexclave | 6,891 |
| 9 | material-kit-react | 5,588 |
| 10 | iron-session | 4,155 |
| 11 | next-auth-example | 4,030 |
| 12 | amplify-cli | 2,875 |
| 13 | react-most-wanted | 2,409 |
| 14 | remix-auth | 2,198 |
| 15 | javascript | 1,778 |
| 16 | nuxt-auth-utils | 1,609 |
| 17 | nuxt-auth | 1,555 |
| 18 | ssoready | 1,532 |
| 19 | auth | 1,420 |
| 20 | react-oauth | 1,340 |
| 21 | surrealist | 1,309 |
| 22 | angular-auth-oidc-client | 1,233 |
| 23 | hasura-backend-plus | 1,169 |