Repository navigation
zeroauthy v1.0.0-rc.1
Pre-releaseThe first public release: an early preview for people to try. It covers
what most Auth0 tenants use, but not everything; the
compatibility matrix lists the gaps, and the
roadmap
lists what comes next (Plans 35 onward).
Added
- Authentication API and hosted Universal Login. Authorization code with
PKCE, client credentials, refresh tokens with rotation, password and
password-realm grants,/dbconnectionssignup and password change, logout,
consent and third-party applications, pushed authorization requests (PAR),
and the device authorization flow. OpenID Foundation certified for the Basic,
Config and Form Post OP profiles (commit38b4229). - Multi-factor authentication. One-time passwords (any authenticator app),
email, SMS and voice, recovery codes, MFA policies, remember-browser, hosted
MFA prompts,mfa_requiredand the MFA grants, Actionsmultifactorand
challengeWith*APIs, Guardian and user authentication-method APIs. - Passwordless and phone. Email and SMS passwordless connections, magic
links and the OTP grant, phone identifiers on database connections, phone
password reset, Twilio and Amazon SNS senders, and custom phone providers
through Actions. - Management API. Applications, APIs and client grants, connections
(database, custom database, Google, Microsoft, generic OAuth 2 and OIDC,
email accounts, passwordless), users with search, sessions, tickets and
import/export including password hashes, tenant settings, attack protection,
signing keys, email providers and templates, phone providers and templates,
branding and custom text, custom domains with automatic certificates, roles
and permissions, Actions and Modules, organizations with invitations, logs,
log streams, stats and event streams. - Admin console for all of the above.
- Storage. SQLite, PostgreSQL 14+ and MySQL 8.0.17+, an in-memory store,
and gRPC storage plugins (protocolstore.v1with negotiated capabilities). - Tooling compatibility. Tested as a black box with node-auth0, the Auth0
CLI, the Auth0 Deploy CLI, Auth0 SPA JS, auth0-react, nextjs-auth0,
auth0-auth-js, express-openid-connect and Auth0.NET. - Releases. Static binaries for linux/amd64, linux/arm64 and darwin/arm64
with SHA-256 checksums, and a multi-arch container image on GHCR. - Testing kit. Run zeroauthy as a disposable, seeded login server for
local and CI end-to-end tests with real logins:server.tls_self_signed
generates a throwaway CA and certificate at startup, and
docs/testing.md withexamples/testing/provides a seed,
docker compose, a GitHub Actions job and sample tests. - Configuration reference. docs/configuration.md
lists every setting with itsZEROAUTHY_*environment variable and
default, generated from the code. - Request rate limits on the Authentication API (
security.rate_limit).
Known limitations
- WebAuthn, passkeys, SAML, WS-Federation, enterprise directories, CIBA, JAR
and token exchange are not implemented yet (Plans 33b and 35–44). - Auth0 Deploy CLI 9.x cannot export Guardian factor providers because of a
bug in the tool itself; the server's provider API works (D-0059).
Run it with Docker
docker run -d --name zeroauthy -p 8443:8443 -v zeroauthy-data:/data \
-e ZEROAUTHY_SERVER__LISTEN=:8443 \
-e ZEROAUTHY_SERVER__SYSTEM_HOST=localhost:8443 \
-e ZEROAUTHY_SERVER__TLS_SELF_SIGNED=true \
-e ZEROAUTHY_SERVER__TLS_SELF_SIGNED_CA_FILE=/data/ca.pem \
-e ZEROAUTHY_SECURITY__MASTER_KEY="$(openssl rand -base64 32)" \
-e ZEROAUTHY_BOOTSTRAP__ADMIN_EMAIL=you@example.com \
ghcr.io/occupysaas/zeroauthy:1.0.0-rc.1Images are multi-arch (linux/amd64, linux/arm64). Every setting is a
ZEROAUTHY_* environment variable (__ separates levels:
ZEROAUTHY_STORAGE__DSN sets storage.dsn); the full list with defaults is
in the configuration reference.
| Variable | Needed | Purpose |
|---|---|---|
ZEROAUTHY_SERVER__SYSTEM_HOST |
yes | Host (and port) of the admin console and system API |
ZEROAUTHY_SECURITY__MASTER_KEY or ZEROAUTHY_SECURITY__MASTER_KEY_FILE |
yes | 32-byte base64 key that seals stored secrets. Back it up: it cannot be rotated, and a database backup is useless without it |
ZEROAUTHY_STORAGE__DSN |
no | Defaults to SQLite in /data; memory:// for throwaway test runs; postgres://… or mysql://… |
ZEROAUTHY_SERVER__TLS_CERT_FILE / ZEROAUTHY_SERVER__TLS_KEY_FILE |
for production | Your certificate. SDKs require HTTPS |
ZEROAUTHY_SERVER__TLS_SELF_SIGNED |
for tests | Generates a local CA and certificate at startup; …_CA_FILE writes the CA for your test runner to trust |
ZEROAUTHY_SEED |
no | Path to a seed file that creates tenants, applications, APIs and users on start |
ZEROAUTHY_BOOTSTRAP__ADMIN_EMAIL |
first start | Creates the first console operator and logs where the setup link was written |
Testing your app against an Auth0-compatible server. zeroauthy can stand
in for Auth0 in local and CI end-to-end tests with real logins: start the
image with a seed file and memory:// storage, point your SDK's domain at
it, and throw it away after the run. See the
testing guide.
Start here: quickstart ·
deployment ·
upgrading ·
compatibility.
Verify downloads with sha256sum -c SHA256SUMS and
gh attestation verify <file> --repo occupysaas/zeroauthy.