S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
self-hosting 2026-11-03

Install ZeroAuthy on Ubuntu: Self-Host Auth0 Yourself

What the video covers

This guide is a companion to the video at Install ZeroAuthy on Ubuntu: Self-Host Auth0 Yourself, which walks through installing ZeroAuthy on Ubuntu 24.04 in about 142 seconds.

In the video: ZeroAuthy is described as a self-hostable identity server that speaks the Auth0 Authentication API, so existing Auth0 SDK code works with no changes, and as OpenID certified. The presenter installs prerequisites, builds one static binary, creates a self-signed certificate, starts the server on port 8443 with a memory store plus seed data, verifies it with a discovery-document fetch and a client-credentials token request, then opens the admin console.

Added from the sources: every exact command below comes from the ZeroAuthy repository quick start, with extra context from the admin console guide, the compatibility matrix, and the OpenID certified-providers listing. Anything the transcript mentions but the docs do not spell out is marked untested.

What you need and the build

In the video: you need Go 1.26.7 or newer (the Ubuntu packaged Go is too old, so install the official tarball into your home folder with no sudo), OpenSSL, and Git, and you should confirm each version before moving on. The exact Go tarball install steps were shown on screen and are untested here, so follow the official Go downloads page for your machine.

Added from the sources: the repo builds one static binary from the command folder with go build -o bin/zeroauthy ./cmd/zeroauthy, and Go downloads its modules on the first build, so give it a minute. You end up with a single file at bin/zeroauthy.

Simulated terminal checking the Go tarball extract plus Go 1.26.7, OpenSSL, and git versions with a no-sudo badge
Simulated terminal checking the Go tarball extract plus Go 1.26.7, OpenSSL, and git versions with a no-sudo badge (Still from the walkthrough video.)

Certificate and first start

In the video: SDKs require HTTPS, so create a self-signed certificate with one command making a 30-day cert covering both names, then point two variables at these files when you start the server.

Added from the sources: the documented quick-start certificate command is openssl req -x509 -newkey rsa:2048 -nodes -days 30 -subj "/CN=localhost" -addext "subjectAltName=DNS:localhost,DNS:system.localhost" -keyout key.pem -out cert.pem, where the server answers on localhost and the console host system.localhost.

Simulated terminal starting the server with TLS cert and key variables, seeded tenants, and listening on port 8443
Simulated terminal starting the server with TLS cert and key variables, seeded tenants, and listening on port 8443 (Still from the walkthrough video.)

Verify it is live and open the admin console

In the video: verify with two calls, a discovery-document fetch and a client-credentials token request with the seeded demo client, and both returning zero means the server is live.

Added from the sources: the exact verification calls are curl --cacert cert.pem https://localhost:8443/.well-known/openid-configuration, which returns the issuer, endpoints, and key set, and curl --cacert cert.pem https://localhost:8443/oauth/token -d grant_type=client_credentials -d client_id=e2e-m2m -d client_secret=e2e-m2m-secret-not-for-production -d audience=https://api.e2e.local, which returns a signed token.

Simulated terminal creating the first console operator with a one-hour link and the system.localhost admin address
Simulated terminal creating the first console operator with a one-hour link and the system.localhost admin address (Still from the walkthrough video.)

Watch the walkthrough

Watch on YouTube