Home / Support / Oracle Cloud Marketplace / Authelia
LiveA hardened, CVE-patched virtual machine image running Authelia — the open-source single sign-on (SSO) and two-factor authentication (2FA) portal for reverse proxies — on Oracle Linux 9.
| Status | Live on Oracle Cloud Marketplace |
|---|---|
| Version | 4.39.28 |
| Platform | Oracle Linux 9 |
| Ports open in the host firewall | SSH (22/tcp), 9091/tcp |
| Category | Security |
| Upstream licence | Apache-2.0 |
| Pricing | Pay-as-you-go software fee per OCPU-hour, billed by Oracle on your OCI invoice — see the listing's Pricing tab |
This is the listing's usage information, verbatim. Every command in it is run by our QA on a freshly launched instance before an image version can publish, so the text and the tested procedure cannot drift apart.
After launch:
ssh opc@PUBLIC_IPsudo systemctl status authelia-firstboot authelia
curl -s --cacert /etc/authelia/tls/cert.pem https://127.0.0.1:9091/api/healthsudo cat /root/.authelia_default_credentialsUsers live in /var/lib/authelia/users_database.yml as argon2id digests. To add one, run authelia crypto hash generate argon2 (it prompts for the password and prints a Digest), copy the admin entry under a new name with that Digest, then run:
sudo systemctl restart autheliasudo sed -i 's/example[.]com/YOUR_DOMAIN/g' /etc/authelia/configuration.yml && sudo systemctl restart autheliaAccess control: every site under YOUR_DOMAIN requires the password plus a second factor (policy two_factor) and anything else is denied. For password-only sites, change two_factor to one_factor in /etc/authelia/configuration.yml and restart.
sudo sed -i 's#tcp://127.0.0.1:9091/#tcp://0.0.0.0:9091/#' /etc/authelia/configuration.yml && sudo systemctl restart autheliaPort 9091 is already permitted in the host firewall. Restrict it in your VCN security list to the proxy's CIDR; never expose it to the internet.
Caddy: in the auth.YOUR_DOMAIN site, reverse_proxy https://127.0.0.1:9091; in the app.YOUR_DOMAIN site, forward_auth https://127.0.0.1:9091 with the subdirectives uri /api/authz/forward-auth and copy_headers Remote-User Remote-Groups Remote-Email Remote-Name, before the app's own reverse_proxy. In both, add a transport http block containing tls_trust_pool file /etc/authelia/tls/cert.pem.
nginx: in the app's location, auth_request to an internal location that proxy_passes to https://127.0.0.1:9091/api/authz/auth-request with proxy_set_header X-Original-Method $request_method and X-Original-URL $scheme://$http_host$request_uri, then auth_request_set $redirection_url $upstream_http_location and error_page 401 =302 $redirection_url. Full examples: https://www.authelia.com/integration/proxies/sudo cat /var/lib/authelia/notification.txtFor production, configure the smtp notifier in /etc/authelia/configuration.yml.
The image is CVE-patched at build time. Apply ongoing operating system updates with:
sudo dnf -y updateAuthelia itself is installed from the signed upstream release and is refreshed by launching a newer image version of this listing.
Email support@dcassociatesgroup.com (response within 1 business day) or use the
contact form. Include the listing name, your OCI region, the instance OCID and the
output of sudo journalctl -u <service> -n 100 for the unit named in the quick start.
Authelia is a trademark of its respective owner. This image is an independent hardened distribution and is not affiliated with, endorsed by, or sponsored by the Authelia project.