Image 1 of 2: Admin TUI listing a tenant's users with tabs for clients, roles, sessions, IdP and audit
An OAuth2 and OIDC server on Axum and Postgres: authorization code with PKCE, client credentials, RS256 id_tokens and JWKS, TOTP and passkeys, Google and GitHub login, per-tenant SMTP and an audit log. Secrets at rest are envelope-encrypted with AES-256-GCM. Managed from a TUI.
- <50 MBRAM at idle
Trade-offs
- Tenant isolation is Postgres row-level security on a per-transaction tenant setting, under a non-superuser role. Boundaries hold in the database, not just in code, but only on Postgres.
- One Rust binary with Postgres as its only dependency, no JVM or Redis. Small and quick to start, but alpha, without the track record or external audit of Keycloak or Zitadel.
- Secrets are generated on first run and printed to the logs once. No setup step, but they must be saved before the container restarts.
Q&A4
Not yet. OIDC flows, tenant isolation, MFA, social login and the audit log are implemented and exercised; encryption at rest and key rotation are lightly tested, and no external audit has started. The alpha is meant for side projects, internal tools and test deployments.
TOTP secrets, SMTP credentials and identity-provider secrets, with AES-256-GCM envelope encryption through the
hefesto crate. Passwords are hashed with Argon2id, and OPAQUE is planned so the server never sees them.Middleware resolves the tenant from the
x-ovlt-tenant-id or slug header and opens a transaction that sets app.tenant_id. The app connects as a non-superuser role, every table has a policy on that setting, and FORCE ROW LEVEL SECURITY stops the owner bypassing it.Under 50 MB of RAM and under a second to start, against about 512 MB and 30 to 60 s, measured with 1 tenant, 10 users and no sessions. The table also lists Kanidm, Authentik and Zitadel, and says plainly they are more mature.
Links
- Live(opens in a new tab)ovlt.tech
- GitHub(opens in a new tab)github.com/Shrpp/ovlt
- Docs(opens in a new tab)ovlt.tech/docs
- Architecture(opens in a new tab)github.com/Shrpp/ovlt/blob/6289747f06a64a29fc1960641e1db4ba76d746ed/docs/architecture.md
- Security(opens in a new tab)github.com/Shrpp/ovlt/blob/6289747f06a64a29fc1960641e1db4ba76d746ed/docs/security.md
Built by
Reviews
Loading reviews
More in Auth
See all 9 →
KotauthMulti-tenant OAuth2 and OIDC identity server in Kotlin, self-hosted in Docker
Desktop-2FAOffline TOTP manager for the terminal with an encrypted local vault
ZeroLinkAccount-free secret sharing where the receiver locks the link first
ProtocolSoupIdentity protocol sandbox with live flows against a real mock IdP
vAuthTPM-backed FIDO2 authenticator for Linux, seen by browsers as a security key
Caomei AuthUnified sign-in and OAuth2 provider on Nuxt 3 and Better Auth
More in Security
See all 45 →- ZeroboxDeny-by-default process sandbox with per-host secret injection
PandaWardLocal application security assessment that reports what it couldn't decide
SnitchPer-app network monitor and outbound firewall for the desktop
ConduitSSH, Mosh and SFTP client for phones with no account and no cloud sync
AEGISPre-execution firewall that checks every agent tool call before it runs
ClawMoatZero-dependency security layer for AI agents and laptop-hosted agent hosts
More in Self-hosted
See all 120 →
SupermetryCookie-free web and product analytics on one Go binary and PostgreSQL
jobdGPU-aware job broker for a few personal machines, with an MCP server
FusionalySelf-hosted web analytics in one SQLite file- TouchDeckA local touch control deck for Home Assistant and PC stats on an ESP32-S3
DeftSelf-hosted workspace shared by people and AI agents
open-computeSelf-hosted Cloudflare Workers-compatible platform in one Rust binary