Skip to main content

Zero Trust Control Plane — Documentation

This site documents a proof-of-concept zero-trust session and policy control plane: a backend (Go gRPC), web client (Next.js). Here you’ll find backend services (auth, sessions, policy engine, org policy config, database, telemetry) and the org admin dashboard.

Get started

What's in the docs

  • Backend — Authentication (register, login, refresh, MFA), session management and lifecycle, policy engine (OPA/Rego for device-trust/MFA), org policy config (five sections), database schema, audit, health, and telemetry (OpenTelemetry → Collector → Loki / Prometheus / Tempo → Grafana).
  • Frontend — Org admin dashboard (Members, Audit log, Policy, Telemetry); how it uses the backend and handles 401 / session invalidation.
  • Contributing — Planned documentation and how to extend the docs (see the sidebar).

Quick links

  • AuthRegister, login, refresh, JWT flows
  • SessionsSession management, revocation, token invalidation
  • Session lifecycleCreation, heartbeats, revocation, client behavior
  • Policy engineOPA/Rego, policy structure, evaluation flow
  • Org policy configFive sections, sync to org_mfa_settings
  • Web dashboardOrg admin: Members, Audit, Policy, Telemetry
  • DatabaseSchema, migrations, codegen
  • TelemetryOpenTelemetry, Collector, Grafana

How to run

Run the backend from backend/, the frontend from frontend/, and this docs site from docs-site/ (see the docs-site README).