Skip to content

Stack

Stack Auth is an open-source authentication platform that serves as a developer-friendly alternative to Auth0 and Clerk, designed specifically for Next.js, React, and JavaScript applications.

Stack — preview
Updated

Live preview

Live Preview

Interact with the actual deployed template — every section, every interaction, no mockups.

Loading preview…

About

About Stack Auth

This comprehensive authentication solution provides everything needed for user management including OAuth integration with popular providers (Google, GitHub, Microsoft), magic link authentication, passwordless login with passkeys, multi-tenancy support for serving multiple organizations, role-based access control (RBAC) for granular permissions, and automatic email notifications for user actions. The platform can be set up in just five minutes and offers both managed cloud hosting and self-hosting options, giving teams complete control over their authentication infrastructure.

Built with developer experience in mind, Stack Auth includes pre-built UI components styled with shadcn/ui, TypeScript SDK for type-safe integration, webhook support for custom workflows, and comprehensive session management. Perfect for startups and enterprises building SaaS applications, the platform eliminates the complexity of authentication while remaining extensible and customizable, allowing developers to add authentication to their Next.js applications without vendor lock-in or hefty monthly fees, while maintaining full ownership of user data and authentication flows.

Get started

Free, open source, and ready to ship.

Clone the repo, install dependencies, and start customising. Stack Auth is free and open source: its license is in the repository.

  1. Clone the Stack Auth repository from GitHub.
  2. Run npm install or pnpm install to install all required packages.
  3. Run npm run dev to start the development server and begin customizing.
  4. Check the repository’s README and license before you ship.

Terminal

$ git clone https://github.com/stack-auth/stack
$ cd stack
$ npm install
$ npm run dev

Included in Pro

More Templates

Hand-built premium templates from shadcn.io — production-ready and bundled in Pro.

Every template, every block. One Pro plan unlocks all 14, with 6,000+ blocks and MCP for your AI editor.

Get Pro

Same author

More by Stack auth

Stack auth has 2 templates in the collection.

Pricing

Every premium template, with Pro

All 14 premium templates come with every Pro plan, with 6,000+ blocks and the MCP server. Pick the seats you need.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

Everything you need to know before you ship with Stack Auth.

4.9 out of 5 from 150+ developers

Ship your next site this weekend

14 premium templates, 6,000+ blocks and MCP in every Pro plan. Stack Auth and the other 214 open source templates stay free.

Get Pro