Why I built an open-source alternative to Auth0

typescript dev.to

HVT

HVT is an open-source authentication platform built with Django and Django REST Framework. It provides a control plane for organizations, projects, API keys, invites, webhooks, and audit logs, plus a runtime auth plane for customer-facing applications.

Current Scope

  • email and password authentication
  • JWT access and refresh tokens
  • registration, email verification, and password reset
  • Google and GitHub social login
  • organizations, projects, and API keys
  • project-scoped runtime auth with shared identity across projects
  • invitations, project roles, permissions, and audit logs
  • webhook delivery for organization events

Project Model

HVT separates two concerns:

  • control plane: the dashboard and admin-facing APIs used to manage organizations, projects, API keys, social providers, invites, and webhooks
  • runtime plane: project-scoped auth flows that your application uses for sign-up, sign-in, social login, verify-email, and password reset

True Multi-Tenant Isolation: User accounts are strictly isolated at the project level. Unlike traditional Django apps where an email must be globally unique…

Source: dev.to

arrow_back Back to Tutorials