The open-source
Auth0 alternative.
We build your sign in page so you don't have to.
AuthN, authZ, and user management in just 5 minutes.
Secure access,
Seamless integration.
Password, SSO, 2FA, and more
Beautifully styled components to help you get started quickly. No need to worry about design and internal logic.
Get StartedHeadless or headful UI
Integrate our shadcn/ui components, or build your own with our headless SDK.
Learn MoreJWTs without the JWTs
Stack manages JWTs and access tokens for you, so you get the performance benefits without ever having to think about them.
Learn MoreOrganizations & teams
Manage B2B customers with orgs & teams, supporting email invitations, team components, and management tools.
Learn More3rd-party OAuth
Access third-party OAuth APIs such as Gmail or OneDrive without having to think about OAuth flows or token refreshes.
Learn MoreBeautiful Next.js integration
We pride ourselves with our lean and responsive design.
Your users will love it, and your developers too.
Next.js Integration
Easily integrate your Next.js application with our components and features.
<SignIn />
Effortlessly integrate user authentication with our intuitive SignIn component. Enable quick and secure account access with minimal setup.
Email Templates
Customize and automate your communications with pre-built Email Templates. Send professional welcome messages, password resets, and notifications effortlessly.
<AccountSettings />
Provide users with comprehensive account management. Allow them to update personal details and adjust security preferences in one convenient place.
<UserButton />
Enhance user experience with the UserButton. Let users easily manage their profiles and access account settings with a single click.
Here's how we compare
Among its competitors, Stack Auth is unique by being open-source,
developer-friendly, and feature-rich.
Stack vs Supabse
Why not both?
Stack is more than just authN
Instead of just logging you in, Stack also provides authZ (orgs/teams, permissions), impersonation, better emails, user management, and more.
Use Stack + Supabase DB
Get the best of both worlds by dropping in Stack as a replacement for Supabase Auth, but keep using the Supabase DB features you love.
Join the community
As an open-source project, we rely on organic growth.
Here's what our users have to say.
It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair.
Charles DickensA Tale of Two Cities
Simple plan for everyone
Self-hosting is always free.
For Individuals
10k Monthly active users
Unlimited active teams
Unlimited projects
1 dashboard admins
Custom SSO branding
SSO with OIDC/OAuth
Basic support
For early startups and small teams
50k Monthly active users
Unlimited active teams
Unlimited projects
3(then $39 each) dashboard admins
Custom SSO branding
SSO with OIDC/OAuth
Basic support
Priority support
For growing businesses and teams
Unlimited Monthly active users
Unlimited active teams
Unlimited projects
5(then $39 each) dashboard admins
Custom SSO branding
SSO with OIDC/OAuth
SSO with SAML
Basic support
Premium support
Everything you need to know
Can I integrate Stack into my existing project?
Yes! It is very straightforward! Stack does not require any special architecture and can merge well into any Next.js project that uses the App router.
How can I integrate Stack into my backend?
Stack provides a Next.js server side SDK that you can just import and use. If you are using a different language or framework, you can use our REST API.
How do I sync user data with my database?
For most of the time, you don't need to sync user data with your database. You can store JSON data in the user object itself. However, if you really need to sync data, you can use our webhooks.
Does Stack support SSO with SAML?
Yes! Let's get in touch and we can help you.
Can I deploy Stack on my own servers?
Yes! Stack is fully open-source and you can self-host it on your own servers.
What kind of support do you offer?
We offer a range of support from data migration to custom on-premise deployments.
Start building with Stack today
Secure your application with the best open-source authentication and user management platform.
Get Started