Ingreso único (authelia)
Ingreso único en una caja Self Host Wizard: la pieza authelia, en auth.<dominio de apps>, ingreso none, límite de memoria 80 MB.
De un vistazo
| Dato | Valor |
|---|---|
| Dirección | https://auth.<dominio de apps> |
| Ingreso | none: sin ingreso de la oficina adelante |
| Límite de memoria | 80 MB (ram_mb: pico medido × 1,3) |
| Base de datos | ninguna compartida: guarda sus datos en THX_DATA |
| Necesita | lldap |
| La necesitan | boards, bookstack, drive, easyappointments, espocrm, forgejo, freescout, glitchtip, home, listmonk, radicale, snappymail, umami, uptime-kuma, vaultwarden, vikunja |
| Contenedores | authelia |
Imagen: authelia | authelia/authelia:4.39.28@sha256:bd97cff4fcbf715b5ff1f9ae286afbe6033afce385302520b0368122d43a6f54 |
| Licencia (según el README) | Apache-2.0 |
| Proyecto original (según el README) | https://www.authelia.com |
Cómo activarla
thx enable agrega authelia y todo lo que necesita al estado de la caja; después thx apply la instala. Las apps se aplican recién cuando site_domain está definido.
sudo thx enable authelia
sudo thx apply
Notas técnicas (pieces/authelia/README.md)
Las notas técnicas de cada pieza están en inglés, tal como están en el repositorio.
Authelia 4.39.28, Apache-2.0. Image authelia/authelia:4.39.28, pinned by index
digest sha256:bd97cff4…a6f54; the index has linux/arm64 (docker buildx imagetools inspect,
2026-11-24). Upstream image, unmodified.
How it is wired
- Users from LLDAP (
implementation: lldap, bound asthx-readonly). Password change/reset are disabled here: that is LLDAP's web UI. SQLite storage and the session inTHX_DATA/ memory; one session cookie for the whole apps domain. Two config files:
files/configuration.yml(shipped, the same everywhere) andfiles/generated.yml(written bythx applyfrom the enabled pieces):access_control:one_factorfor every forward-auth host; defaultdeny.identity_providers.oidc: one client perauth = "oidc"piece, its secret stored as a pbkdf2-sha512 digest (the plain secret is only in that piece's own .env), redirect URIs and scopes from its piece.toml,token_endpoint_auth_methodper piece. The RSA key that signs ID tokens isoidc_jwks_key.pem, generated on the box.- notifier: SMTP to the mail piece when it is enabled, otherwise the filesystem notifier.
- Caddy puts
forward_authtoauthelia:9091/api/authz/forward-authin front of everyauth = "forward"piece and passes onlyRemote-User,Remote-Groups,Remote-Email,Remote-Name(a client-sent copy is overwritten; tested).
Measured
RAM: measured peak 61 MiB (anon + shmem + kernel from memory.stat, sampled through the whole check.sh docker stage including a 10-client database load; 124 MiB with page cache) × 1.3 = ram_mb 80, mem_limit 80m. Measured 2026-11-25, e2e run 6.
Known gaps
- Tested on the dev PC: forward auth, first-factor login (right and wrong password), the OIDC code flow
with userinfo + ID token claims and a wrong client secret refused. NOT tested: the branch with no forward
hosts at all (
default_policy: one_factorthere), mail notifications through Stalwart, 2FA enrolment. - Changing the client list recreates the container (a few seconds of no login).