Skip to content


"Authelia is a 2FA & SSO authentication server which is dedicated to the security of applications and users. It can be considered an extension of reverse proxies by providing features specific to authentication."


$ curl | sudo apt-key add -
$ sudo apt install -y apt-transport-https --yes
$ echo "deb all main" | sudo tee /etc/apt/sources.list.d/authelia-stable-debian.list
$ sudo apt update && sudo apt -y install authelia=4.37.4-1
# Need to configure the system or it will not load properly
# Example errors
level=error msg="Configuration: authentication_backend: you must ensure either the 'file' or 'ldap'>
level=error msg="Configuration: access control: 'default_policy' option 'deny' is invalid: when no >
level=error msg="Configuration: storage: configuration for a 'local', 'mysql' or 'postgres' databas>
level=error msg="Configuration: storage: option 'encryption_key' is required"
level=error msg="Configuration: notifier: you must ensure either the 'smtp' or 'filesystem' notifie>
level=fatal msg="Can't continue due to the errors loading the configuration"
# Work in progress, please reference the docs to complete the configs. 
# Getting Started -
# Authelia Configuration Template -
# Authelia Config Example -
$ sudo systemctl enable authelia
$ sudo systemctl start authelia
$ sudo systemctl status authelia