
Installing Authentik: Single Sign-On for All Your Company Tools
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
- Install Docker with Compose v2 on a Linux server.
- Download the current compose file from the official Authentik documentation.
- Generate secrets: a database password and a secret key, both written to the `.env` file.
- Start: `docker compose pull` and `docker compose up -d`.
- First setup: open `/if/flow/initial-setup/` in the browser and create the admin account.
- 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.

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

Authentik in the company: Central user management for open-source tools
Authentik for businesses: single sign-on for Nextcloud, AI chat and more, two-factor login and instant access removal – explained for SMEs.

Keycloak vs. Authentik: Which open-source SSO solution is the right fit?
Keycloak or Authentik? License, features, setup effort and typical use cases of the two open-source SSO solutions compared for small and mid-sized companies.

Introducing Two-Factor Authentication in Your Company: A Guide for SMEs
Introducing 2FA in your company: methods compared, passkeys, a sensible order and an emergency plan for lost devices – a guide for SMEs.
Stay up to date on AI topics
Short updates on AI automation, funding programs and new posts — no spam, unsubscribe anytime.