authelia

module
v1.0.12-0...-3a330c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2019 License: Apache-2.0

README

license Build Gitter

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 or Traefik to tell them wether queries should pass through. Unauthenticated user are redirected to Authelia Sign-in portal instead.

The architecture is shown in the diagram below.

BREAKING NEWS: Authelia v4 has been released! Please read BREAKING.md if you want to migrate from v3 to v4. Otherwise, start fresh in v4 and enjoy!

Authelia can be installed as a standalone service using Docker or NPM but can also be deployed easily on Kubernetes leveraging ingress controllers and ingress configuration.

Here is what Authelia's portal looks like

Features summary

Here is the list of the main available features:

  • Several kind of second factor:
  • Password reset with identity verification using email confirmation.
  • Single-factor only authentication method available.
  • Access restriction after too many authentication attempts.
  • Fine-grained access control per subdomain, user, resource and network.
  • Support of basic authentication for endpoints protected by single factor.
  • Highly available using a remote database and Redis as a highly available KV store.
  • Compatible with Kubernetes ingress-nginx controller out of the box.

For more details about the features, follow Features.

Proxy support

Authelia works in combination with nginx or Traefik and soon with HAProxy as discussed in #271. It can be deployed on bare metal with Docker or directly in Kubernetes.

Getting Started

You can start off with

git clone https://github.com/clems4ever/authelia.git && cd authelia
source bootstrap.sh

If you want to go further, please read Getting Started.

Deployment

Now that you have tested Authelia and you want to try it out in your own infrastructure, you can learn how to deploy and use it with Deployment. This guide will show you how to deploy it on bare metal as well as on Kubernetes.

Security

If you want more information about the security measures applied by Authelia and some tips on how to set up Authelia in a secure way, refer to Security.

Changelog & Breaking changes

See CHANGELOG.md and BREAKING.md.

Contribute

Anybody willing to contribute to the project either with code, documentation, security reviews or whatever, are very welcome to issue or review pull requests and take part to discussions in Gitter.

I am very grateful to contributors for their contributions to the project. Don't hesitate, be the next!

Build Authelia

If you want to contribute with code, you should follow the documentation explaining how to build the application.

License

Authelia is licensed under the Apache 2.0 license. The terms of the license are detailed in LICENSE.

Directories

Path Synopsis
cmd
internal
authentication
Package authentication is a generated GoMock package.
Package authentication is a generated GoMock package.
duo
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
session/mocks
Package mock_session is a generated GoMock package.
Package mock_session is a generated GoMock package.
storage
Package storage is a generated GoMock package.
Package storage is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL