Skip to content

authelia

Self-hosted login portal with SSO and two-factor for apps behind a reverse proxy

Permissive (OSI) · Apache-2.0

Listed by , founder & editor

89

Health

Thriving

Overview

Stars

29,720

Last commit

yesterday

Nov 2026

Repository age

9 years

since Dec 2016

Latest version

v4.39.28

Sep 2026

Contributors

–

5 active in 90 days

Releases

14

last 12 months

Docker pulls

88M

authelia/authelia

Language

Go

Authelia is an authentication and authorization server written in Go. It sits beside a reverse proxy and decides whether each request is allowed, denied, or redirected to a login portal. It adds single sign-on and two-factor authentication to apps that have no such features of their own.

Second factors include FIDO2 WebAuthn security keys, time-based one-time passwords, and Duo push notifications. Passkeys can be used for passwordless login. Access rules can match subdomain, user, group, request URI, method, and network, and each rule can require one or two factors. It is also an OpenID Connect 1.0 provider, certified for several OpenID profiles.

It works with nginx, Traefik, Caddy, Skipper, Envoy, and HAProxy. You can run it from a static binary, a .deb package, the AUR, FreeBSD Ports, Docker, or Kubernetes, with a beta Helm chart. For high availability it can use a remote database and Redis. It is licensed under Apache-2.0 and fills the role of hosted identity services.

Who it's for

Homelab admins exposing several self-hosted apps

One portal puts SSO and two-factor in front of every app behind your reverse proxy.

Skip if: You want a full user directory with a graphical admin console for managing accounts.

Kubernetes operators using common ingress controllers

It works with ingress-nginx, Traefik, Istio, and Envoy Gateway.

Skip if: You need a production-grade Helm chart, since the chart is still beta.

Teams that need an OpenID Connect provider for internal tools

It is a certified OpenID Connect 1.0 provider with fine-grained access rules.

Skip if: You need a broad enterprise feature set with managed support.

The problem it solves

Many self-hosted apps have weak login or no two-factor support. Putting each behind its own auth is tedious. Authelia gives them one login portal with consistent access rules.

Strengths

  • OpenID Connect 1.0 certified for several OP profiles
  • Second factors: WebAuthn keys, TOTP, and Duo push
  • Access rules match domain, user, group, URI, method, and network
  • Works with nginx, Traefik, Caddy, Envoy, HAProxy, and Skipper
  • Runs as a binary, .deb, Docker container, or on Kubernetes

Trade-offs

  • Needs a reverse proxy in front; it is not a standalone gateway
  • Configuration is file-based and takes time to learn
  • Helm chart support is beta
  • Compose examples ship with self-signed certificates you must replace

authelia replaces

Self-host authelia

Self-hostable
Yes
Docker image
authelia/authelia

Frequently asked questions

Is Authelia free?

Yes. It is open source under the Apache-2.0 license.

Can I self-host it?

Yes. You can run it as a binary, a .deb package, or a container on Docker or Kubernetes.

Which reverse proxies does it work with?

nginx, Traefik, Caddy, Skipper, Envoy, and HAProxy.

Does it support passkeys and hardware keys?

Yes. It supports FIDO2 WebAuthn security keys and passwordless login with passkeys.

Other Keycloak alternatives

Compare all 4 Keycloak alternatives →

Similar tools in Identity and access management

Teleport

Identity and access management

Identity-aware access proxy for SSH, Kubernetes, databases and internal apps

21k 2.2k 3 months ago Slowing AGPL-3.0

Ory

Identity and access management

API-first identity server for developers who build their own login and signup flows

14k 1.2k 4 months ago Slowing Apache-2.0

Replaces KeycloakAuth0

hydra

Identity and access management

Self-hosted OAuth 2.0 and OpenID Connect server for teams with their own login system

18k 1.6k 4 months ago Dormant Apache-2.0

JumpServer

Identity and access management

Open-source bastion host for DevOps teams controlling SSH, RDP and database access

32k 5.8k today Thriving GPL-3.0

Logto

Identity and access management

Self-hostable auth for multi-tenant SaaS with SSO, RBAC and OIDC

15k 1.2k today Thriving MPL-2.0

Replaces Auth0

oauth2-proxy

Identity and access management

Reverse proxy that puts OAuth2 and OIDC login in front of any web app

15k 2.3k 15 days ago Active MIT