https://github.com/authelia/authelia

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/70dd1ff0-37aa-43e6-962c-c406454c4fa8/authelia-title.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/dda02f03-0295-49a9-8d34-1c1924c71d43/68747470733a2f2f696d672e736869656c64732e696f2f6275696c646b6974652f64363534336433656365333433336634366462653566643966636661663166363861366462633438656231303438626332322f6d61737465723f6c6f676f3d6275696c646b697465267374796c653d666c61742d73717561726526636f6c6f723d627269676874677265656e

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/5577ddb2-4fb0-4f3b-a821-1aa865a52250/68747470733a2f2f676f7265706f7274636172642e636f6d2f62616467652f6769746875622e636f6d2f61757468656c69612f61757468656c69613f6c6f676f3d676f267374796c653d666c61742d737175617265

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/8e1c9c29-3d44-4360-a8a6-c487913136f6/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f762f61757468656c69612f61757468656c69612f6c61746573743f6c6f676f3d646f636b6572267374796c653d666c61742d73717561726526636f6c6f723d626c756526736f72743d73656d766572

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/2fc2353e-244e-454b-bd0c-2819934d2408/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f696d6167652d73697a652f61757468656c69612f61757468656c69612f6c61746573743f6c6f676f3d646f636b6572267374796c653d666c61742d73717561726526636f6c6f723d626c756526736f72743d73656d766572

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/f4158ce2-c5fe-43cc-83f7-b405270871af/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f61757468656c69612f61757468656c69612e7376673f6c6f676f3d676974687562267374796c653d666c61742d73717561726526636f6c6f723d626c7565

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e64846f2-be76-43aa-b011-6839b81a20e0/68747470733a2f2f696d672e736869656c64732e696f2f6175722f76657273696f6e2f61757468656c69613f6c6f676f3d617263682d6c696e7578266c6162656c3d61757468656c6961267374796c653d666c61742d73717561726526636f6c6f723d626c7565

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1e4a67bf-245d-460b-a48f-8ec6edbb7f19/68747470733a2f2f696d672e736869656c64732e696f2f6175722f76657273696f6e2f61757468656c69612d62696e3f6c6f676f3d617263682d6c696e7578266c6162656c3d61757468656c69612d62696e267374796c653d666c61742d73717561726526636f6c6f723d626c7565

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e892c4c5-48c2-47fb-b411-38d57c4a274f/68747470733a2f2f696d672e736869656c64732e696f2f6175722f76657273696f6e2f61757468656c69612d6769743f6c6f676f3d617263682d6c696e7578266c6162656c3d61757468656c69612d676974267374796c653d666c61742d73717561726526636f6c6f723d626c7565

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/eaf2d8a7-cc65-4c65-a5bc-66200ef41cf1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f61757468656c69612f61757468656c69613f6c6f676f3d617061636865267374796c653d666c61742d73717561726526636f6c6f723d626c7565

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3f95238d-b663-48aa-8025-871cc4ba6c35/68747470733a2f2f696d672e736869656c64732e696f2f6f70656e636f6c6c6563746976652f616c6c2f61757468656c69612d73706f6e736f72733f6c6f676f3d4f70656e253230436f6c6c656374697665266c6162656c3d66696e616e6369616c253230636f6e7472696275746f7273267374796c653d666c61742d73717561726526636f6c6f723d626c7565

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/8d01a6d6-ccce-4079-9c71-25737d0cf575/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3730373834343238303431323031323630383f6c6f676f3d646973636f7264267374796c653d666c61742d73717561726526636f6c6f723d626c7565

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e7792bf2-4da2-4a1e-a105-3fc3277fabc8/68747470733a2f2f696d672e736869656c64732e696f2f6d61747269782f61757468656c69613a6d61747269782e6f72673f6c6f676f3d6d6174726978267374796c653d666c61742d73717561726526636f6c6f723d626c7565

Authelia is an open-source authentication and authorization server providing 2-factor authentication and single sign-on (SSO) for your applications via a web portal. It acts as a companion of reverse proxies like nginx, Traefik or HAProxy to let them know whether queries should pass through. Unauthenticated users are redirected to Authelia Sign-in portal instead.

Documentation is available at https://docs.authelia.com.

The architecture is shown in the diagram below.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3fe759ae-c8b7-4b34-aca0-49443ae9bc2d/archi.png

Authelia can be installed as a standalone service from the AUR, FreeBSD Ports, or using a Static binary, Docker or Kubernetes leveraging ingress controllers and ingress configurations. Assistance to publish a debian package would be greatly appreciated.