A favicon of Stack

Stack

Stack Auth offers a developer-friendly, open-source user authentication and management platform, providing a robust and flexible alternative to services like Auth0 or Clerk.

A screenshot of StackVisit

Stack Auth: Streamlined Open-Source Authentication for Modern Applications

Stack Auth is an open-source platform designed to simplify user authentication and management for developers. It provides a comprehensive alternative to proprietary services like Auth0 or Clerk, offering rapid integration with Next.js, React, and JavaScript frontends, plus a versatile REST API for backend compatibility. Developers can choose between a managed cloud service or self-hosting, retaining full data control and flexibility, with initial setup completed within minutes for immediate feature access.

Features:

  • SignIn & SignUp Components: Pre-built UI elements for authentication supporting OAuth, passwords, and magic links, with dark/light mode compatibility and shared development keys.
  • Next.js Native APIs: Leverages server components, React hooks, and route handlers for seamless Next.js integration.
  • User Management Dashboard: An administrative interface to view, filter, analyze, and modify user data.
  • Self-Serve Account Settings: Allows users to manage their profiles, verify emails, and change passwords without custom development.
  • Multi-Tenancy and Teams: Facilitates B2B application structures with organization management and team functionalities.
  • Role-Based Access Control (RBAC): Enables defining custom permission hierarchies and assigning roles to users, including organization-specific roles.
  • Third-Party OAuth Connections: Manages access tokens for external services like Google Calendar or Outlook, handling token refresh and scope.
  • Passkey Authentication: Offers passwordless sign-in using biometrics or security keys across devices.
  • User Impersonation: Allows administrators to log in as a user for debugging or support purposes.
  • Webhook Integration: Provides notifications for user-related events, built on Svix.
  • Automated Email System: Sends customizable emails for events like sign-up or password reset, featuring a WYSIWYG editor.
  • Session & JWT Management: Automatically handles refresh tokens, access tokens, JWTs, and cookies for optimal performance.
  • Machine-to-Machine (M2M) Auth: Secures inter-service communication using short-lived access tokens.

Summary:

Stack Auth provides a complete open-source system for implementing user authentication and comprehensive user management. It equips developers with tools for quick integration of sign-in/up flows, multi-tenancy, RBAC, and third-party OAuth. Supporting various frontends and providing a REST API, it includes features like a user dashboard and automated emails. With both managed and self-hosting options, Stack Auth prioritizes developer experience, flexibility, and data sovereignty.

Distribution:
opensource
GitHub:
5,863 Stars
401 Forks
Share:

 

  
 

Similar to Stack:

 

  
  

 

  
  

 

  
  
Stack: Stack Auth: Your open-source Auth0/Clerk alternative for developers. – Awesome-Shadcn/ui