saltyorg / Saltbox

Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
https://docs.saltbox.dev
GNU General Public License v3.0
571 stars 65 forks source link

2FA Authelia #169

Closed notlimahrelyt closed 8 months ago

notlimahrelyt commented 8 months ago

How do I enable 2FA in Authelia? Can someone provide a sample config? I'm following Authelia's documentation but I still can't figure it out.

saltydk commented 8 months ago

You change it under access_control, one_factor to two_factor.

Alternatively set

authelia_access_control_policy: "two_factor"

Using the inventory and reset authelia with sb install authelia-reset. Just be aware that currently running that reset will cause you to have to setup 2FA all over so don't do it once setup.

We generally only provide support on our discord so I am closing this.