TypeScript Authentication

Open-source TypeScript projects categorized as Authentication

Top 23 TypeScript Authentication Projects

Authentication
  1. better-auth

    The most comprehensive authentication framework

    Project mention: Why Do Magic Links Expire Before the User Clicks? | dev.to | 2026-11-10

    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.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. next-auth

    Authentication for the Web.

    Project mention: Why Do Magic Links Expire Before the User Clicks? | dev.to | 2026-11-10

    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.

  4. logto

    🧑‍🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.

    Project mention: Deploying Logto as a Microsoft Entra External ID Alternative | dev.to | 2026-09-30

    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.

  5. 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-08

    PR #1382 — Foundational Provider & Sync PR #1485 — Webhook Infrastructure PR #1490 — Runtime Payment Flow

  6. nebular

    :boom: Customizable Angular UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode

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

    Verified: 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.

  8. deepstream.io

    deepstream.io server

  9. 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
  10. 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

    Project mention: 10+ Best Free React Admin Dashboard Templates for 2026 | dev.to | 2026-05-17
  11. iron-session

    đź›  Secure, stateless, and cookie-based session library for Next.js or any JavaScript framework

  12. next-auth-example

    Example showing how to use NextAuth.js with Next.js

  13. amplify-cli

    The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.

  14. react-most-wanted

    React starter kit with "Most Wanted" application features

  15. remix-auth

    Simple Authentication for Remix

  16. javascript

    Official JavaScript repository for Clerk authentication (by clerk)

  17. nuxt-auth-utils

    Add Authentication to Nuxt applications with secured & sealed cookies sessions.

    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.

  18. nuxt-auth

    Authentication built for Nuxt! Easily add authentication via OAuth providers, credentials or Email Magic URLs!

  19. ssoready

    Open-source dev tools for enterprise SSO. Ship SAML + SCIM support this afternoon.

  20. auth

    A GitHub Action for authenticating to Google Cloud. (by google-github-actions)

    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.

  21. react-oauth

    Google OAuth2 using the new Google Identity Services SDK for React 🚀

  22. surrealist

    Surrealist is the ultimate way to visually manage your SurrealDB database

    Project mention: How to build a knowledge graph for AI | dev.to | 2026-02-09

    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.

  23. angular-auth-oidc-client

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

  24. hasura-backend-plus

    🔑Auth and 📦Storage for Hasura. The quickest way to get Auth and Storage working for your next app based on Hasura.

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 Authentication discussion

Log in or Post with

TypeScript Authentication related posts

  • Why Do Magic Links Expire Before the User Clicks?

    2 projects | dev.to | 10 Nov 2026
  • Better Auth's November Security Release: What to Patch and Rotate Today

    1 project | dev.to | 8 Nov 2026
  • A boilerplate for Node.js apps / TypeScript

    1 project | news.ycombinator.com | 3 Nov 2026
  • Better Auth with Next.js 16: proxy.ts, Prisma 7 and Server Actions (Tested Setup)

    1 project | dev.to | 23 Oct 2026
  • Free auth for vibe coding (2026)

    1 project | dev.to | 9 Oct 2026
  • Deploying Logto as a Microsoft Entra External ID Alternative

    1 project | dev.to | 30 Sep 2026
  • Don't Ship Dev Keys! Set Up Production-Ready Google OAuth in React

    1 project | dev.to | 27 Sep 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

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

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that TypeScript is
the 2nd most popular programming language
based on number of references?