Authwall documentation
Authwall is an authentication proxy — it sits between clients and an internal
app, handles sign-in, and forwards authenticated requests with an
X-Auth-User header.
Contents
- Overview — what Authwall is, runnable
docker runrecipes, the project's philosophy, secret management, and related projects. - Architecture — a high-level map of Authwall's big blocks.
- Getting started — a one-command quick start, then the full Docker Compose setup in front of a real app.
- Recipes — runnable setups from a one-line start to personal access tokens and WebSockets.
- Deployment — HTTPS, the session secret, production databases, logging, and health checks.
- Deployment examples — runnable Docker Compose setups for the direct, reverse-proxy, and sidecar topologies (nginx and Caddy).
- Sign-in flows — password, magic link, magic code, and
OAuth, and how
AUTHWALL_FLOWSselects them. - OAuth providers — per-provider setup walkthroughs.
- Emails — the transactional email templates and how to customize them.
- CLI tools — the
bin/utilities for running, building, and operating Authwall. - Security model — the
X-Auth-Usertrust boundary, sessions, CSRF, rate limiting, access control, and error-report redaction. - Configuration reference — every environment variable, with defaults, validation rules, and examples.
- Glossary — terms used throughout the docs and code.