Skip to content

ADR 005 - API Gateway

  • Date: 2025-07-28
  • Status: Active

Problem Statement

Each tenant has its own API deployment and database, but users are not resolved to a tenant until after authentication.

Decision

Introduce an API Gateway layer to proxy all public internet traffic and centralize:

  • Authentication
  • Request metrics gathering
  • Single-domain entry-point routing

Options Considered

  • YARP ReverseProxy

Rationale

The gateway provides a stable front door that can absorb tenant-routing changes without pushing that complexity into every client.