Skip to content
Search

Stack Auth

lastmod 2024-08-16created 2024-08-161 edits

An open-source alternative to Auth0/Clerk

  • A developer-friendly, fully open-source "user authentication solution". MIT and AGPL licenses
  • Quick to get started, and all features remain available as the project grows
  • The managed service is optional; you can export user data at any time and self-host for free
  • Supports Next.js frontends and any backend that can use a REST API

Features

  • <SignIn/> and <SignUp/>: authentication components supporting OAuth, password credentials, and magic links. Supports dark/light mode
  • Next.js API: based on server components, React hooks, and route handlers
  • User dashboard: filter, analyze, and edit users
  • Account settings: update profiles, verify email, change passwords
  • Multi-tenancy and team support: manage B2B customers
  • Role-based access control: define permission graphs and assign them to users
  • OAuth connections: manage access tokens for third-party APIs, such as Outlook and Google Calendar
  • User impersonation (Impersonation): log in as a user's account for debugging and support
  • Webhooks: notifications of user activity. Based on Svix
  • Automated emails: send customized emails on sign-up, password reset, and email verification
  • User session and JWT handling: manages refresh and access tokens, JWTs, and cookies
  • M2M authentication: uses short-lived access tokens for machine-to-machine authentication

GN⁺'s summary

  • Stack Auth is a developer-friendly open-source user authentication solution that offers a quick start and a wide range of features
  • Supports Next.js frontends and REST APIs, so it is compatible with a variety of backends
  • Offers features such as user management, role-based access control, and OAuth connections, which help as a project grows
  • Continues to evolve through contributions from the open-source community, and also offers a self-hosting option
  • Products with similar features include Auth0 and Clerk

Hacker News comments

See also

Favorite site

author Zer0 sitemap