Stack auth

Details about Stack auth

▶️ Key Features
  • 100 % open-source, self-hostable, no vendor lock-in

  • Single-command setup: npx @stackframe/init-stack@latest

  • Built-in organizations, teams, permission trees, and role-based access

  • Handles third-party OAuth (Google, GitHub, Microsoft, etc.) with automatic token refresh

  • Headless SDK + optional pre-built shadcn/ui components

  • No manual JWT handling, no session bugs, no pricing surprises

  • Active weekly releases and real Discord support

#What is Stack Auth?

Stack Auth is the developer-first, open-source authentication platform that finally makes auth feel good again. Designed for indie hackers, startups, and teams who are tired of wrestling with Clerk, Auth0, or Supabase Auth, it delivers enterprise-grade features (organizations, teams, granular permissions, OAuth token storage) while staying completely customizable and free. Whether you want drop-in shadcn UI components or a fully headless experience, Stack Auth gives you both — plus the peace of mind that you own your auth layer forever.

#Features ⚡

  • Organizations & Teams with email invites and member management

  • Arbitrary permission trees and role-based access control

  • Third-party OAuth (Google, GitHub, Microsoft, etc.) with automatic token refresh & storage

  • Passwordless magic links, SSO, 2FA, and social login

  • User impersonation for support/debugging

  • Headless SDK or beautiful pre-built shadcn/ui components

  • Real-time webhooks for every auth event

  • Full REST API + TypeScript server/client SDKs

#Pros ✅

  • Lightning-fast setup and migration from Clerk/Auth0

  • Truly open-source and self-hostable – no surprise bills

  • Handles the hardest auth problems (OAuth tokens, permissions) out of the box

  • Weekly updates and extremely active community

  • Works perfectly with Next.js, Remix, Vite, Astro, and vanilla projects

#Cons ⚠️

  • Self-hosting required (great for control, extra step for non-DevOps folks)

  • Some enterprise polish (audit logs, SAML) still in roadmap

  • shadcn/ui dependency means you’ll want Tailwind in your project

#Included Components - Templates

  • Full shadcn/ui auth flows (sign-in, sign-up, forgot password, 2FA, team invites)

  • Organization dashboard templates with member list and role editor

  • Permission tree UI builder component

  • Magic link & passwordless login pages

  • OAuth consent screens for third-party connections

  • User impersonation admin panel

  • Next.js 14+ App Router example project

  • Remix + Vite starter templates

  • Complete TypeScript types and Zod schemas

#Pricing 💸

  • 100% free and open-source (MIT license) – unlimited users, projects, and scale

  • No paid tiers, no usage limits, no credit card required

  • Optional paid hosting or enterprise support available on request

#Integrations 🧰

  • Frameworks: Next.js (App Router), Remix, Vite, Astro, SvelteKit, vanilla JS/TS

  • UI: shadcn/ui + Tailwind CSS (drop-in components)

  • OAuth providers: Google, GitHub, Microsoft, Discord, Slack, and any OpenID Connect

  • Webhooks: Slack, Discord, Zapier, Make, custom endpoints

  • Databases: PostgreSQL, MySQL, SQLite (via Prisma or Drizzle)

  • Deployment: Vercel, Railway, Fly.io, Docker, Render, or any Node.js host

  • Analytics: PostHog, Plausible, Umami (via webhook events)

Frequently Asked Questions

How is Stack Auth different from Clerk?

Fully open-source, self-hostable, no pricing tiers, and handles OAuth token storage automatically.

Does it work without shadcn/ui?

Yes—fully headless SDK for any design system.

Is it production-ready?

Used in production by dozens of startups and 10k+ MAU apps.

Stack auth

Free

Open-source suite of tools for authentication and user management.

Resource Types:
UI Kits :
Shadcn UI
Technology Stack :

Have a product?

Submit your Shadcn product to AllShadcn, get featured, and drive genuine traffic while showcasing your work to the world. Turn your creativity into revenue and begin selling today! 🚀

Submit Product