
Stack Auth
Open-source authentication platform for Next.js and React, built as an alternative to Auth0 and Clerk.
Open source alternative to:
Stack Auth is an open-source, self-hostable authentication and user management solution designed specifically for modern web apps built with Next.js and React. It is a developer-friendly alternative to Auth0 and Clerk, offering pre-built UI components, server and client SDKs, and a hosted dashboard.
It supports email/password login, magic links, OAuth social providers (Google, GitHub, Facebook, and more), session management, multi-tenant organizations, and role-based access control — all configurable with minimal code. Stack Auth ships with fully functional sign-in, sign-up, and account pages that you can drop into your Next.js app in minutes.
As an open-source project it can be self-hosted on your own infrastructure, giving you full control over user data. It is also available as a managed cloud service for teams that prefer a hosted option.
Categories:
Build with:
OpenAltFinder Score
Project Details
Repository details
Updated 11/24/2026, 4:00:55 PM
View RepositoryRepository activity
Get the latest open source alternatives delivered weekly.
Discover tools that give you freedom from proprietary software.
Compare Stack Auth with
Similar open source alternatives

Authentik
Open source identity provider and SSO solution that replaces Auth0 and Okta with a self-hostable, flexible authentication platform.
Auth0
SuperTokens
Open-source authentication solution, an alternative to Auth0 and Firebase Auth that you can self-host.
Auth0
Keycloak
Open-source identity and access management with SSO, OAuth2, OIDC, and SAML support for modern applications.
Auth0
Tinyauth
The tiniest OpenID Certified self-hosted authentication and authorization server, with OAuth, OIDC, LDAP, 2FA, and Traefik/Nginx/Caddy middleware support.
Auth0