stackpicks.dev
Preview mode — 111 repos, zero database

The open-source stack,
curated by builders.

Tell us what you're building or what you need. We'll surface the right repo, with an honest take on whether to use it.

Or paste a GitHub repo — owner/repo — to preview it live.

Filtered byAuthenticationclear

Authentication

7 repos
better-auth
better-auth

The most flexible modern auth library for TypeScript stacks in 2026. Plugin ecosystem for 2FA, phone OTP, organization roles, audit logs. Same code works with Next.js, TanStack Start, Express. Becomin…

Authentication
You are starting a full-stack TypeScript app and want long-term scalability with full control over auth flows.
You want a fully managed auth platform with no ops — use WorkOS or Auth0.
better-auth/better-authView
nextauthjs
next-auth

The OG Next.js auth library, now Auth.js. ~24k stars. Quick to add OAuth providers (80+ preconfigured). Best for fast MVP work where you mostly need social login. Less flexible than Better Auth for ad…

Authentication
You are shipping a Next.js MVP fast and need social login (Google, GitHub) working in an hour.
You need fine-grained control over sessions, multi-tenant logic, or organization roles — pick Better Auth.
nextauthjs/next-authView
supertokens
supertokens-core

Self-hostable auth backend with managed cloud option. Full session management, user management dashboard, multi-tenancy. Good middle ground between rolling your own and using a SaaS like Auth0.

Authentication
You want full control over auth data, self-hosting capability, and a working admin dashboard.
You want zero ops — managed providers will be less work.
supertokens/supertokens-coreView
lucia-auth
lucia

Note: Lucia announced deprecation in 2024 — the maintainer is sunsetting it in favor of writing your own. Still useful as a learning reference for session-based auth patterns in TypeScript. Better Aut…

Authentication
You want to learn how session-based auth works from a clean codebase before building your own.
You are picking auth for a new production app — use Better Auth or Auth.js instead.
lucia-auth/luciaView
keycloak
keycloak

Enterprise auth/IAM platform. ~24k stars. Java-based, self-hosted, supports SAML, OIDC, fine-grained authorization. Heavy to operate but the right pick for compliance-heavy enterprise apps.

Authentication
You are doing enterprise SSO with SAML/OIDC and need self-hosting for compliance reasons.
You are a small team or a B2C product — way too much complexity.
keycloak/keycloakView
supabase
supabase

Postgres + Auth + Storage + Realtime + Edge Functions in one open-source platform. ~73k stars. The fastest way to ship a backend in 2026 for solo founders and small teams. Mumbai region for India late…

Database & ORMAuthentication
You are a solo founder or small team shipping a SaaS or mobile app and want one backend service.
You need NoSQL specifically, or your team has strong DevOps and wants raw Postgres.
supabase/supabaseView
pocketbase
pocketbase

Single-file Go backend with SQLite, auth, file storage, realtime. ~40k stars. Pocket-sized Supabase alternative. Great for indie projects, prototypes, and self-hosted internal tools.

Database & ORMAuthentication
You want a single binary you can drop on a VPS for an indie project, prototype, or internal tool.
You are scaling past ~10k users or need Postgres-specific features.
pocketbase/pocketbaseView
Don't see what you need?

We'll add it in 60 minutes.

Tell us what tool or use case is missing. We'll research the best repo for it, write an honest take, add it to the directory, and email you the link. No paywall, no signup required.

We respond in under 60 minutes during business hours (10:00–18:00 IST).

Preview — the curated 104 — StackPicks