Table of contents
- Roadmap: The Future of ProxyAuth
- Where 1.0.0 stands today
- ✅ Shipped: pluggable database backends (PostgreSQL, MySQL/MariaDB)
- Under discussion, not started: Blackgate (a separate sync binary)
- Near-term priority: account registration & administration
- Also planned: SQLite as a third database backend
- Broader authentication protocol support
- Rough sequencing
- See also
Roadmap: The Future of ProxyAuth
This page collects the direction ProxyAuth is heading in beyond 1.0.0 - what's planned, why, and in roughly what order. Nothing here is a committed release date; it's a statement of intent and reasoning, updated as priorities shift.
Where 1.0.0 stands today
ProxyAuth 1.0.0 is a solid authenticating reverse proxy: local password + TOTP accounts (file-based or database-backed via databases — PostgreSQL/MySQL), session tokens, CSRF protection, load balancing with failover, rate limiting, TLS with hot-reload, and multi-instance token/revocation sync - all covered across this wiki.
What it's missing to be comfortably self-service and administrable at 1.0.0 is the real gap driving the next phase of work: creating/updating users today goes through hand-editing config.json, the proxyauth db-add-user CLI command, or direct SQL against the databases tables - never a runtime HTTP admin API. That's fine for a handful of users set up once at deployment time, or an operator comfortable with the CLI/SQL; it doesn't hold up as a self-service way to manage accounts long-term.
✅ Shipped: pluggable database backends (PostgreSQL, MySQL/MariaDB)
Originally scoped below as "closely tied to account administration" and planned to land after it — in practice it shipped first, independently: a databases block in config.json lets every instance read and write the same user base from a shared PostgreSQL or MySQL/MariaDB database, refreshed periodically (default every 30s) without a restart.
"databases": {
"type": "postgres",
"host": "127.0.0.1",
"db_name": "proxyauth",
"user": "proxyauth",
"password": "changeme"
}
This differs from the original sketch below in a few ways worth noting honestly:
- The key is
databases(plural, object withtype/host/port/db_name/user/password), notdatabasewith a singledriver/urlpair as originally drafted. - SQLite isn't supported yet — only PostgreSQL and MySQL/MariaDB. SQLite remains a good candidate for a future addition (see below), for the same "zero extra infrastructure" reason it was originally proposed.
- Users,
allow(IP/CIDR rules), androlesare normalized into three tables with real foreign keys (users,user_allow,user_roles), not a single flat table. - There's still no admin API/UI to manage users at runtime beyond
proxyauth db-add-user/db-delete-useron the CLI (which handleusername/password/otpkey/deletion — not yetallow/roles). The "account registration & administration" work described just below is still the gap this doesn't close.
Since it first shipped, the sync model grew a fair bit further than the original sketch: a fast, windowed incremental scan (default every 30s, looking back 5 minutes) picks up new/edited users cheaply regardless of how large the table gets, a soft-delete + trigger-logged hard-delete mechanism lets that same fast scan catch deletions too — not just the slower full scan — and a local LMDB fallback cache lets a database-backed instance survive a database outage, including at startup, using the last known snapshot instead of coming up with zero database users. None of this was in the original plan; it came out of hardening the feature against real failure modes (a transient DB outage briefly revoking every database user turned out to be a real risk in an earlier iteration, now fixed) rather than being scoped upfront.
Full reference: Database-Backed Users.
Under discussion, not started: Blackgate (a separate sync binary)
For deployments that outgrow direct database polling (very large user counts, or wanting sub-second propagation instead of the incremental scan's ~30s), one idea being discussed — not designed in detail, and not started — is a separate binary ("Blackgate") that would own the database connection exclusively, keep users in its own LMDB store, and push changes to every connected ProxyAuth instance over a WebSocket instead of each instance polling the database independently. This would keep ProxyAuth itself free of any direct SQL dependency (removing the PostgreSQL/MySQL client library requirements this page describes) for anyone who adopts it, while database-direct databases config remains the default, simpler path for smaller deployments. Noted here for context; nothing to configure or expect yet.
Near-term priority: account registration & administration
This was the next focus, ahead of everything else on this page — the goal is making ProxyAuth fully exploitable day-to-day, not just at initial setup. Partial progress since this was first written:
✅ Shipped: password reset, end-to-end. smtp/smtp.rs's previously-unused send_reset_password() is now actually wired up: proxyauth reset-password emails a single-use link, POST /reset-password completes the change, and db-add-user --must-change-password forces a temporary password to be replaced on first login. Full detail: Password Reset & First-Login Forced Change.
Still missing:
- No self-service registration flow — every user has to be added by hand to
config.json, or viaproxyauth db-add-userifdatabasesis configured.proxyauth db-add-usergrew real CLI ergonomics along the way (--email,--primary-email,--must-change-password), but there's still no way for a new user to sign themselves up. - No admin API/UI to create, update, disable, or delete users at runtime over HTTP —
db-add-user/db-delete-usercover this from the CLI, on the machine ProxyAuth runs on, but there's still no HTTP-level write path an external admin panel could call. Compare this to the TOTP reset mechanism and the password-reset flow above, which both prove the pattern (an admin-token-protected route, with a hot-reload overlay so changes take effect without a restart) — full account administration (not just password/OTP) needs the same treatment.
What this unlocks: an operator managing more than a handful of users - a small team, a growing self-hosted setup - needs to add/remove/lock accounts without touching the config file, the database directly, or restarting the service. This is the difference between "usable for a personal setup" and "usable as the front door for a real, evolving user base."
Also planned: SQLite as a third database backend
With PostgreSQL and MySQL/MariaDB already shipped (see above), SQLite remains the natural third option for the same reason it was originally proposed: zero extra infrastructure, a single file, ideal for the same self-hosted/single-instance use case ProxyAuth already serves well without any database today. No reason to force a Postgres/MySQL install just to get the "users live outside config.json" benefit on a single-node deployment.
Broader authentication protocol support
Once local accounts have a proper administration story, the next horizon is supporting more authentication protocols - not as a replacement for local accounts, but as additional options a deployment can choose to enable:
FIDO2 / WebAuthn
Hardware security keys and platform authenticators (YubiKey and its many alternatives, or a phone/laptop's built-in biometric authenticator) as a second factor alongside, or eventually instead of, TOTP. The practical motivation: WebAuthn is phishing-resistant by design (the authenticator itself checks the origin/domain before responding), where a TOTP code can be captured and replayed by a real-time phishing proxy. This would sit next to the existing TOTP enrollment/reset flow as a second, stronger option - not a rip-and-replace.
OIDC / SAML (as a client)
Letting ProxyAuth delegate authentication to an external identity provider (Google, Okta, Azure AD, Keycloak, etc.) for deployments that already have enterprise SSO and want ProxyAuth to sit in front of internal apps using it - the same role Pomerium/Authelia play today.
Important distinction from how those projects work: ProxyAuth's local, self-contained account system (see Security Model and How a Token Is Built and Verified) is a real differentiator against proxies like Pomerium that require an external IdP and can't authenticate anyone without one - see the comparison discussion referenced from this wiki's design pages. Adding OIDC/SAML is meant to extend ProxyAuth to cover the enterprise-SSO use case too, alongside local accounts - never to make local accounts a second-class or removed option. A deployment with no interest in external identity providers should be able to ignore this feature entirely and keep working exactly as it does at 1.0.0.
LDAP
For organizations with an existing directory (Active Directory, OpenLDAP) they want to authenticate against directly, without the overhead of standing up a full OIDC layer in front of it. Complementary to OIDC/SAML rather than competing with it - different organizations have different existing infrastructure to integrate with, and there's no reason to force everyone through the same protocol.
The common thread
All three (WebAuthn, OIDC/SAML, LDAP) are being considered as protocols a deployment opts into, configured per-instance, not architectural rewrites. The guiding principle carried over from every design discussion in this wiki: add capability without losing what makes ProxyAuth simple to reason about and audit today. A future where all of these exist as options, but a minimal deployment can still run with nothing but local accounts and config.json exactly as it does now, is the goal - not a future where any of them becomes mandatory.
Rough sequencing
Pluggable database backends (PostgreSQL / MySQL)- shipped, ahead of the original plan (see above). SQLite remains open.- Account registration & administration - the most immediate remaining gap, needed for ProxyAuth to be comfortably self-managed via an HTTP API rather than the CLI/config file/direct SQL.
- SQLite as a third database backend, and FIDO2/WebAuthn as a stronger second factor alongside TOTP - neither requires the admin work above as a hard prerequisite, so either could land earlier if it turns out simpler than expected.
- OIDC/SAML and LDAP - broader protocol support for federating with external identity systems, once the core account model (local, database-backed) is solid enough to extend.
This ordering reflects what unlocks the most day-to-day usability first (administration), builds on the storage foundation that's now in place, then expands outward (more ways to authenticate) - rather than chasing feature parity with larger projects for its own sake.
See also
- Security Model - the reasoning behind keeping local accounts as a first-class, independent option even as external protocols are added.
- TOTP (2FA) Enrollment & Reset - the existing admin-route + hot-reload pattern that account administration will extend.
- config.json Reference - where new configuration (database backend, future protocol settings) will land.
📖 Wiki Home · 💻 Source Code · 🐛 Report an Issue · 📜 License
Found an error or something outdated on this page? Open an issue or submit a PR against the wiki repository.