bettersorted Logo
Handing over a house key with key ring in front of an open apartment door
Open source & technologies

Installing Authentik: Single Sign-On for All Your Company Tools

AuthorMuhamed Alahmed
Published on
Reading time2 min
In short

You install Authentik with Docker Compose: download the compose file, generate a password and secret key, start the containers. Since version 2025.10, Authentik only needs PostgreSQL, no Redis. You then connect Nextcloud, Open WebUI, Paperless-ngx and other tools via OpenID Connect.

Authentik is open-source software for central login (single sign-on): employees sign in once and get into Nextcloud, Open WebUI, Paperless-ngx and other tools with it. Authentik is installed with Docker Compose. Since version 2025.10 the installation consists only of server, worker and PostgreSQL – Redis is no longer needed. According to the documentation you need at least 2 CPU cores and 2 GB RAM.

Installation in six steps

  1. Install Docker with Compose v2 on a Linux server.
  2. Download the current compose file from the official Authentik documentation.
  3. Generate secrets: a database password and a secret key, both written to the `.env` file.
  4. Start: `docker compose pull` and `docker compose up -d`.
  5. First setup: open `/if/flow/initial-setup/` in the browser and create the admin account.
  6. Set up HTTPS via a reverse proxy with your own domain, e.g. login.your-company.com.

Make sure you follow a guide for the current version. Older guides still include a Redis container that is now redundant.

Connecting tools

Tool

Connection

Nextcloud

OpenID Connect via the “OpenID Connect user backend” app

Open WebUI

OpenID Connect via environment variables

Paperless-ngx

via the built-in social login (OpenID Connect)

n8n

depending on the edition via SSO or a proxy in front

Tools without SSO

via Authentik’s proxy outpost

What you should set up at the same time

  • Two-factor login for all accounts – via app, security key or passkey. How to introduce it in your team: two-factor authentication in companies.
  • Groups by department so that permissions in the applications match automatically.
  • Offboarding: disable the account in Authentik – and access to all connected tools is gone.
  • Backups of the PostgreSQL database.

Why central login makes sense especially for small companies is described in Authentik: central user management; the comparison with Keycloak in Keycloak or Authentik?.

Frequently asked questions

Is Authentik free?

The open-source version is free. For some enterprise features and support there is a paid enterprise edition.

Does Authentik still need Redis?

No. Since version 2025.10 Authentik uses only PostgreSQL; older installations can remove Redis after the update.

What hardware does Authentik need?

According to the documentation at least 2 CPU cores and 2 GB RAM.

Can Authentik integrate Microsoft accounts?

Yes. Authentik can use Microsoft Entra ID, Google or other providers as a login source.

What is the difference to Keycloak?

Authentik is usually easier to set up and use; Keycloak is more widespread in large enterprises and very extensive.

As of November 2026. Software changes quickly – the documentation and licence of each project are authoritative.

Portrait of Muhamed Alahmed, founder of bettersorted
About the author

Muhamed Alahmed

With over 10 years’ experience in IT, I develop solutions that not only work from a technical perspective, but also create real added value and open up new possibilities.

More about bettersorted →

More articles

Newsletter

Stay up to date on AI topics

Short updates on AI automation, funding programs and new posts — no spam, unsubscribe anytime.

We use Brevo as our marketing platform. By submitting, you agree that your data will be transferred according to Brevo's privacy policy .

CallEmailContact formSEO/GEO Check