
Stack Auth
Complete authentication solution with login pages, user management, OAuth, RBAC, and team features. Open-source alternative to Auth0 and Clerk.

Stack Auth is a comprehensive open-source authentication platform that provides everything you need for user authentication and management. Built as a developer-friendly alternative to Auth0 and Clerk, it offers a complete suite of tools to handle login, signup, and user management with minimal setup.
Key Features:
- Complete Authentication Suite - Password authentication, SSO, 2FA, and OAuth integrations
- Organizations & Teams - B2B customer management with email invitations and team components
- Permissions & RBAC - Define custom permission trees and organization-wide roles
- Third-party OAuth - Seamless integration with Gmail, OneDrive, and other services
- User Impersonation - Debug issues and assist customers by impersonating users
- Flexible UI Options - Use pre-built shadcn/ui components or build custom interfaces with headless SDK
Developer Benefits:
- No JWT Setup Required - Automatic JWT and access token management
- REST API - Build custom frontends and backends with client and server APIs
- Webhook Support - Sync with Slack, databases, and other services
- Quick Setup - Get started in minutes with
npx @stackframe/init-stack@latest
The platform combines the flexibility of open-source software with enterprise-grade features, making it perfect for startups and established companies alike. With active community support and continuous feature updates, Stack Auth provides a reliable foundation for any application requiring user authentication.
Stack automatically manages refresh and access tokens, JWTs and cookies for user sessions
Developers can replace the default authentication pages by building custom pages using Stack components or low‑level functions
Teams provide structured grouping of users with permissions. Users can belong to multiple teams, invite members and maintain team profiles
The user dashboard lets administrators filter, analyze, edit and delete users and provides account settings pages