Installation
Autentico ships as a single self-contained binary with no runtime dependencies. Choose the method that fits your environment.
Pre-built binaries for Linux, macOS, and Windows are available on the GitHub Releases page.
-
Download the binary for your platform from the GitHub Releases page.
For example, on Linux (amd64):
Terminal window curl -L https://github.com/eugenioenko/autentico/releases/latest/download/autentico-linux-amd64 -o autenticoBuilds are also available for Linux arm64, macOS (Intel and Apple Silicon), and Windows amd64.
-
Make the binary executable:
Terminal window chmod +x autentico -
Move it somewhere on your
$PATH:Terminal window sudo mv autentico /usr/local/bin/ -
Initialize your instance:
Terminal window autentico initThis generates a
.envfile in the current directory with all required secrets (RSA signing key, HMAC secrets, CSRF secret). Pass--urlto set your public URL:Terminal window autentico init --url https://auth.example.com -
Start the server:
Terminal window autentico startYou should see output like this:
Autentico OIDC Identity ProviderONBOARDING: http://localhost:9999/admin/Server: http://localhost:9999Admin UI: http://localhost:9999/admin/API Docs: http://localhost:9999/admin/docs/WellKnown: http://localhost:9999/.well-known/openid-configurationJWKS: http://localhost:9999/.well-known/jwks.jsonAuthorize: http://localhost:9999/oauth2/authorizeToken: http://localhost:9999/oauth2/tokenThe
ONBOARDINGline appears only on first run. Visit it to create the admin account.
Pull the latest image:
docker pull ghcr.io/eugenioenko/autentico:latestRun with environment variables:
docker run -d \ --name autentico \ -p 9999:9999 \ -v /data/autentico:/data \ -e AUTENTICO_APP_URL=https://auth.example.com \ -e AUTENTICO_DB_FILE_PATH=/data/autentico.db \ -e AUTENTICO_COOKIE_SECRET=changeme-at-least-32-chars \ -e AUTENTICO_ADMIN_TOKEN=your-secure-admin-token \ ghcr.io/eugenioenko/autentico:latestSee Bootstrap Settings for all available environment variables.
See Docker Compose for a full annotated docker-compose.yml that mounts persistent storage, configures SMTP, and sits behind a reverse proxy.
Requires Go 1.22 or later.
-
Clone the repository:
Terminal window git clone https://github.com/eugenioenko/autentico.gitcd autentico -
Build the binary:
Terminal window make build# or: go build -o autentico main.go -
Initialize and run:
Terminal window ./autentico init./autentico startOn first run you’ll see an
ONBOARDINGURL — visit it to set up the admin account.
CLI commands
Section titled “CLI commands”| Command | Description |
|---|---|
autentico init | Generate a .env file with all required secrets. Accepts --url to set the public URL (default: http://localhost:9999). Errors if .env already exists. |
autentico start | Start the server. Reads .env from the current directory, or from the path set in AUTENTICO_ENV_FILE. |
Next steps
Section titled “Next steps”Once Autentico is installed, follow the Quickstart to initialize your instance, complete onboarding, and register your first client.