Authelia vs Tinyauth
Editor take
Choose Authelia for a second factor per rule and for security keys or Duo push. Choose Tinyauth for a login screen set up in environment variables, and for GitHub or Google sign-in.
Where they differ
Only what is true of one of them and not the other. Each app's weak spots are the other app's strengths.
Authelia
Where Authelia is stronger
- A second factor per ruleEach rule picks one or two factors for a domain, path, user, group or network; the Tinyauth TOTP secret sits on the user, so it applies to every app they open.1
- Security keys, TOTP and Duo pushWebAuthn security keys, TOTP codes and Duo push as a second factor; Tinyauth adds a TOTP code to a user and offers no WebAuthn or push option.2
Tinyauth
Where Tinyauth is stronger
- A login screen from env varsUsers, OAuth keys and access controls go in environment variables or Docker labels, with no dashboard to click through; Authelia needs a YAML configuration.3
- Sign in with GitHub or GoogleGitHub, Google or another OAuth provider can be the only route in, with an email allowlist; the Authelia first factor is a local password or LDAP.4
Authelia vs Tinyauth: specs side by side
Every spec for both apps in one table, so you can check install options, hardware and client apps before you pick one.
Common questions
How is each one configured?
Tinyauth takes its users, OAuth keys and access controls from environment variables, Docker labels or a config file, and each user is a username, a bcrypt hash and an optional TOTP secret. Authelia is configured in YAML, where you write rules that match by domain, path, user, group or network.
Do Tinyauth and Authelia work with Traefik, Caddy and Nginx?
Yes. Both answer forward-auth checks from your reverse proxy. Tinyauth runs as middleware on Traefik, Caddy, Nginx or Nginx Proxy Manager, and Authelia works with Traefik, nginx, Caddy, HAProxy, Envoy and SWAG.
Can one user get a second factor and another not?
In Authelia, yes: each rule asks for one factor or two, so a rule can demand it for one domain, user, group or network and not the rest. Tinyauth puts an optional TOTP secret on the user, so once it is set it guards every app that person opens.
Does Tinyauth support signing in with GitHub or Google?
Yes. GitHub, Google or another OAuth provider can be the only way in, with an email allowlist to decide who gets through. Authelia has no OAuth login; its first factor is a password from a YAML file or an LDAP server.
Sources: Authelia docs and Tinyauth docs.