Migrating from Authelia to authentik

Moving from Authelia to authentik means rebuilding the identity layer on a PostgreSQL-backed server, with routes and OIDC clients moving over more directly than users, second factors and proxy rules. Run a pilot app in parallel before cutover, and plan effort around app count, user source and second factor re-enrollment.

On this page

Migrating from Authelia to authentik: is it a config move or a rebuild?

Moving from Authelia to authentik is a rebuild of the identity layer on authentik, and copying files is the smaller part of the work. Effort depends on how many applications sit behind your reverse proxy, where your users come from, and how many people have enrolled a second factor that must survive cutover. No vendor-documented Authelia-to-authentik importer is confirmed here, so buyers should confirm import paths in writing during scoping. Authelia keeps its access rules in a configuration file, reads users from a YAML file or an LDAP directory, and stores second factor registrations, preferences and authentication logs in PostgreSQL, MySQL or local SQLite. authentik keeps its sources, flows, providers and applications as objects in PostgreSQL, so each protected application, user source and login flow has to be modeled again and tested on its own terms.

Put the import questions in the scope document before any work begins. Ask, for each item, whether it will be imported or recreated by hand: user accounts, group membership, password hashes, second factor enrollments and access rules. Then check those answers against the exact versions you run, Authelia v4.39.28 (released on September 17, 2026) and authentik 2026.8.4 (released on October 14, 2026). Both projects can change configuration formats and tooling between scoping and your cutover date, so the answers you get in writing today should name the versions they cover. Ask the partner to state which version of each product the plan assumes, and to flag any step that depends on a version change before cutover.

Two areas usually decide whether the migration stays a configuration move. The first is the proxy path. Authelia works as a companion to the reverse proxy: the proxy asks Authelia whether each request is allowed, so every route in Traefik, NGINX, Caddy or another supported proxy needs a matching authentik application and provider, such as a proxy provider described in the authentik providers documentation. The second is second factors. Authelia offers one-time passwords, security keys, passkeys and Duo mobile push. authentik has its own enrollment flows for authenticators, so confirm whether existing registrations can move. If they cannot, plan a re-enrollment window for each user group and a recovery path for users who lose a device during cutover.

When moving from Authelia to authentik fits, and when staying fits better

Authelia is a single sign-on and two-factor companion for reverse proxies, and its OpenID Connect provider is OpenID Certified for several profiles. Its support chart lists no SAML support, so a team that must issue SAML assertions to a vendor or internal application has no path inside Authelia. authentik provides SAML, LDAP, RADIUS and proxy provider types from one instance, which matters when several kinds of client need the same identity source.

  • SAML service providers: Applications that accept only SAML need an identity provider that issues SAML assertions. Authelia's chart lists none, so this requirement alone often settles the question. Confirm the bindings and attributes each application expects during testing.
  • LDAP or RADIUS clients: VPNs, network devices and some tools authenticate over RADIUS or bind to LDAP. authentik can serve those clients directly, while Authelia uses LDAP only as a source of users.
  • One provider for many app types: If the goal is one place to manage OIDC, SAML, LDAP and proxy access, consolidation is the reason to move.
  • Enterprise-only integrations: Google Workspace and Microsoft Entra ID integrations sit in authentik Enterprise, which needs a paid subscription for production use. Budget for it if you need those integrations.

Check which protocol each application needs, then confirm it against the Authelia OpenID Connect documentation and the authentik provider list before you commit.

Which Authelia features map to authentik and which need rebuilding

This table maps each Authelia feature to its closest authentik equivalent and notes what has to be rebuilt or checked during migration. Read the notes column as a checklist, since the exact proxy, second factor and recovery flow you use must be confirmed in authentik's documentation before you commit. The main takeaway is that routing and OIDC client changes are mostly configuration work, while user enrollment, SQL storage and audit logs need planning before cutover.

Authelia featureauthentik equivalentMigration notes
Forward auth through supported proxiesProxy provider, run through the embedded outpost in the server containerAuthelia lists Traefik, Caddy, Envoy, NGINX, HAProxy and others. Confirm your exact proxy in authentik's provider docs, then rewrite each route's auth settings.
OIDC clientsOAuth2/OIDC providerRe-register each client, redirect URI and scope. Authelia's certification covers only its own profiles, so test each app's login flow against authentik.
LDAP and YAML file usersUsers managed in authentik, with the LDAP provider serving LDAP clientsConfirm how authentik will read your existing directory or import users. Confirm how hashed YAML passwords are handled, or plan a forced reset.
OTP, security keys, passkeys and Duo pushAuthentication flow stages; confirm each second factor is supportedPlan for users to re-enroll unless a migration path is documented. Confirm each method, especially Duo push, in authentik's docs.
Self-service password reset and account banningRecovery and lockout settings; confirm each in your editionMap each Authelia reset and ban behavior to an authentik equivalent before cutover. Password history is Enterprise-only, so check edition needs first.
SQLite or SQL storagePostgreSQL only for configuration and data, except uploaded filesPlan a data export and import from SQLite or MySQL. Plan PostgreSQL connection capacity early.
Authentication logsEvent logging in authentik; enhanced audit logging is Enterprise-onlyExport or archive Authelia logs before cutover. Confirm what the open-source edition records.
HTTPS-only session cookiesRequirement to verify on the authentik sideAuthelia requires HTTPS for its session cookies. Verify authentik's HTTPS behavior for your domains and whether test hosts over HTTP can be used.

Which import and export paths the migration can rely on

The migration has four data paths, two on the Authelia side and two on the authentik side. Authelia's SQL storage and user sources decide what leaves Authelia, while authentik's PostgreSQL store and provider configuration decide what arrives. No direct importer from Authelia is confirmed in the supplied material, so confirm each path with the authentik documentation and the exact versions in use before relying on it.

Authelia SQL storage contents

Authelia can keep its storage in PostgreSQL, MySQL or local SQLite, and that database holds user preferences, second factor device registrations and authentication logs. Second factor registrations are the item to plan around. A one-time password, security key, passkey or Duo push enrollment does not carry over as a password import, so you need to confirm how each enrollment will be recreated or moved. Export the tables from the Authelia version you run, decide which records are worth carrying across, and treat authentication logs as operational history that belongs in your own log archive. Check the schema against the Authelia storage documentation before writing any extraction script.

Authelia storage docs

Authelia user sources

Authelia checks first factor credentials against either an LDAP directory, such as OpenLDAP, OpenDJ, FreeIPA or Microsoft Active Directory, or a YAML file of users with hashed passwords. The source type sets the work. With LDAP, the directory usually stays in place, so the job is to point authentik at it and confirm the bind account, attribute names and group filters. With a YAML file, names, email addresses, groups and password hashes must be exported and checked by hand, and you should confirm whether authentik can use those hashes before telling users their current passwords will keep working.

First factor docs

authentik PostgreSQL store

authentik keeps its configuration and data in PostgreSQL, and according to the architecture documentation the one exception is uploaded files, which live outside the database. Everything you import into authentik ends up in this store, so the database is both the landing zone for the migration and the backup target after cutover. Plan backup and restore around it. The 2025.10 release notes say authentik no longer uses Redis and warn of roughly 50% more PostgreSQL connections after upgrading, so size connection limits before cutover. Confirm the PostgreSQL version required by the exact authentik release you deploy, and confirm it against the release notes for that version.

Architecture docs

authentik provider configuration

Providers are how authentik serves applications, and the three types this migration most likely needs are OAuth2/OIDC, LDAP and proxy. Each protected application has to be rebuilt as a provider and application pair. Authelia's client definitions and forward-auth rules have no confirmed automatic conversion, so list every client, redirect URI, scope and access rule now. OIDC providers need redirect URIs, signing settings and scopes recreated, LDAP providers need the base DN and bind settings checked, and each proxy rule needs an equivalent authentik setting that you confirm in the provider documentation. Test one application end to end before moving the rest.

Providers docs

How a parallel run routes one app through Authelia and authentik

This illustrative diagram follows a browser's requests for one pilot app through a reverse proxy. In the current setup, the proxy asks Authelia whether to allow each request, and unauthenticated users are redirected to Authelia's login portal. The same user directory is meant to feed both Authelia and authentik, so you should confirm that both see the same accounts and groups. The cutover switch sits on the proxy route, so moving that route to authentik's proxy provider is the step that changes which system decides access. authentik runs its outpost inside the server container, with a worker container for background tasks and PostgreSQL behind both. Compare sessions, logouts and group access on both paths before you switch.

Illustrative routing for one pilot app during a parallel run.

Migrating from Authelia to authentik in five phases with a parallel run

This sequence moves protected applications from Authelia to authentik one application at a time, so each app keeps a working login path until its cutover is verified. The output is a tested inventory, a pilot on authentik, and a signed decommission record for Authelia. Each phase closes with a check that the owning team signs off before the next phase starts.

  1. Inventory every app, route, proxy and user source

    Start with the Authelia configuration and the reverse proxy files that call it. List each protected application and its route, the proxy in front of it (Traefik, Caddy and NGINX are among the proxies Authelia supports), each OIDC client, and the user source, whether LDAP or a YAML file of users. Record every second factor type in use, such as one-time passwords, security keys, passkeys or Duo mobile push, and set log retention needs, since Authelia keeps authentication logs in its storage backend. The platform or security lead owns the list. The step is done when every application has one row showing its owner, route, login method, second factor and retention requirement, and each owner has reviewed their row.

  2. Pilot one low-risk application on authentik

    Choose one application with few users, a clear owner and a simple login flow. Install authentik on a host that meets the minimum in the Docker Compose guide, which calls for at least 2 CPU cores and 2 GB of RAM and positions Compose for test and small-scale production. Point authentik at a test PostgreSQL database, because authentik keeps its configuration and data there. Check connection limits as well, since the authentik 2025.10 release notes warn of roughly 50% more PostgreSQL connections after upgrading. Configure the app's provider, then test sign-in, MFA enrollment and sign-out with test accounts while measuring CPU and memory under load. The step is done when the pilot passes the agreed login test list and the owner accepts the sizing results for production.

  3. Run both systems with a rollback path per app

    Keep Authelia and authentik live together. Each application is served by one system at a time, and for each one the team writes down the exact change that routes it back to Authelia, such as the proxy rule or OIDC client setting in use before the switch. Test that rollback on the pilot application before relying on it for anything else. Users of unmigrated applications should see no change during this period. Track sign-in errors and MFA failures from both systems so problems surface early. The step is done when every application in the inventory has a tested rollback path and the change log records who approved each switch.

  4. Cut over each application in a defined window

    Move applications one at a time, each in a change window agreed in advance with its owner and the service desk. Plan for forced re-enrollment: confirm with your team whether any existing second factor registrations can be carried over, and assume users will register again in authentik unless your tests show otherwise. Prepare enrollment instructions, support scripts and an identity check for users who lose a device. After the switch, run the login test list and watch sign-in failures until the owner confirms the application is stable. The step is done when the login tests pass, re-enrollment progress is tracked, and the owner accepts the cutover in writing.

  5. Decommission Authelia after the rollback window closes

    Once each application has run on authentik through its agreed rollback window without needing a rollback, close that window and stop routing traffic to Authelia. Before removing it, export or archive the authentication logs and the user preference and second factor data held in its PostgreSQL, MySQL or SQLite storage, so your retention requirements are still met. Update the proxy configuration, DNS records and the inventory, then remove Authelia's containers and configuration only after the archive has been verified as readable. The step is done when the inventory shows zero applications on Authelia and the owner signs the decommission record.

What drives the cost and duration of the move

This table lists the factors that change the effort and cost of moving from Authelia to authentik, with what to request in a written scope or quote. Read each row as a question to answer about your own estate before asking for a price. The main takeaway is that route count, OIDC clients and second factor re-enrollment often shape the effort more than the license decision, and the subscription is a cost only if Enterprise features are needed.

DriverEffect on effortWhat to ask for in a quote
Protected apps and routesEach app and hostname needs its own authentik provider, application and policy, so route count drives work.Itemized inventory of apps, hostnames, path rules and the migration method for each.
OIDC clients to reconfigureEach OIDC app needs new client IDs, secrets, redirect URIs and scopes in authentik, plus a retest.Client inventory with owners, a secret rotation plan, redirect URI list and test scope per app.
User sourceDirectory-backed users may stay where they are if authentik can read that directory. YAML file users must be imported or recreated.Confirm directory access, user count, whether existing password hashes can be imported, and group mapping.
Second factor re-enrollmentDevice registrations held in Authelia's storage may require users to enroll again in authentik. Confirm the format.Enrollment volume by factor type, a user communication plan and a help desk window for re-enrollment.
Proxy typesEach proxy in use, such as Traefik or NGINX, needs its own authentik outpost or forward-auth configuration.Proxy types and versions in use, and whether each route will use a proxy or an OIDC integration.
PostgreSQL and host sizingauthentik keeps its configuration and data in PostgreSQL, so a database and backups must exist before cutover.Database version, backup and restore approach, and who operates the host. The Compose guide lists 2 CPU cores and 2 GB RAM as a minimum for small setups.
Enterprise feature needsPer the authentik pricing page, Enterprise costs $5 per user per month billed annually, plus $0.02 per external user per month, and only if needed.Which Enterprise-only features you require, such as mTLS or Entra ID sync, plus internal and external user counts.
Internal team skillsStaff who know Authelia's YAML configuration must learn authentik's providers, flows and outposts, adding time to each row above.Named internal owners, and whether the partner pairs with them or hands over runbooks.
Infrastructure and partner feesYou pay for hosts, PostgreSQL, backups and staff time. Partner fees depend on the written scope, and DeployOpen does not publish prices.A quote tied to a written scope that lists apps, routes, OIDC clients, users and cutover tests.

What usually goes wrong when teams move off Authelia

Most problems in a move from Authelia come from sessions, second factors, proxy configuration and licensing, all of which are easy to miss in a plan built around the applications alone. Each card names one risk, why it matters for this migration, and the prevention step to take before cutover.

Forced re-login at cutover

Authelia uses its own session cookies, and nothing in a standard cutover guarantees those sessions carry over to authentik. Assume every user signs in again after the switch, and confirm that assumption in your pilot before you set a change window. Pilot with a few applications and a small user group, and record how each app behaves when its session ends. Keep the Authelia route in the proxy configuration until the pilot passes, so a failed cutover can be reversed with one configuration change.

Second factor re-enrollment lockouts

Authelia stores second factor registrations for one-time passwords, security keys, passkeys and Duo push in its storage backend. Decide before cutover whether those registrations move, because a user who cannot complete a second factor is locked out of every application behind the proxy. Export a list of who uses which method, decide who re-registers, and set up a supervised recovery path for users who lose a device during the window. Test passkey enrollment in the pilot, since passkeys are bound to the domain where they were created.

Proxy route and header mismatches

Authelia works alongside your reverse proxy: the proxy asks Authelia whether to allow each request, and unauthenticated users go to its login portal. authentik's proxy provider runs through an outpost with its own routing, so every forward-auth block must be rewritten and retested. Compare the identity headers each application reads before and after the move, and test each route with a signed-in and a signed-out request. Confirm your proxy's configuration and the authentik provider settings against the providers documentation before the pilot.

authentik providers

HTTPS-only assumptions carried over

Authelia only works for websites served over HTTPS, because its session cookies require it, and the project declines to support plain HTTP. Teams often copy that setup into authentik without checking what authentik expects for its own external URL, certificates and cookies. Before writing the new configuration, check authentik's own HTTPS and cookie requirements, then list every external URL the old setup used. Include the redirect addresses registered with each OpenID Connect client, and test sign-in on every public hostname before the change window.

Authelia architecture

Enterprise features assumed free

authentik core is MIT licensed, but code under the enterprise directory needs a paid subscription for production use. The pricing page lists mTLS client certificate authentication, enhanced audit logging and Entra ID and Google Workspace integrations as Enterprise-only. Teams moving from Authelia, which is Apache-2.0, often assume the same openness carries over. If your compliance plan or daily operations depend on any of these, confirm the edition and its cost before cutover is scheduled, and ask authentik in writing which features your current controls need.

authentik pricing

PostgreSQL connection growth after upgrades

authentik no longer uses Redis and moves caching, tasks, sessions and WebSocket functions to PostgreSQL. Its 2025.10 release notes warn of roughly 50% more PostgreSQL connections after upgrading. Both the server and worker containers connect to the database, so the connection count can climb before any user traffic arrives. Check your connection limit and pooler settings on the new database before cutover, and record the connection count after each upgrade so a steady climb is visible early.

authentik releases

Questions teams ask before migrating from Authelia to authentik

How much does moving from Authelia to authentik cost?

The cost is set by the written scope, and DeployOpen does not publish a price list, so the quote follows from the scope agreed before work starts. The main components are discovery and an inventory of protected apps, the authentik deployment in your environment (server, worker and PostgreSQL), provider and flow design, proxy and DNS changes, user and second factor handling, the parallel run, cutover and documentation. DeployOpen is paid for the work in scope. Your team pays with staff time for app owners, approvals and change windows, plus the infrastructure it runs. Most of the cost is one-time. Recurring items are hosting, any authentik Enterprise subscription and any retainer for upgrades or support. If Enterprise is needed, the authentik pricing page lists Enterprise at $5 per user per month billed annually, plus $0.02 per external user per month. Costs rise with the number of apps, apps that need client changes, and second factor re-enrollment. Ask for line items, stated assumptions for each app, exclusions, the retest and the handover.

How long does an Authelia to authentik migration take?

The duration is set in the written scope and depends mostly on the number of protected apps and how each one is reached today. Apps protected at the reverse proxy are often less work to test than apps that need OpenID Connect, SAML or LDAP client changes, which take developer time and more testing. Other drivers are the number of user sources, the change windows your team can use, owner sign-off for each app, and how long the parallel run lasts before Authelia is retired. Freeze calendars often set the pace more than engineering does. Ask for a schedule with milestones, the length of the parallel run, the cutover order for each app, and the rollback steps for each one.

What does the team need to provide for the migration?

Your team provides the inputs the migration depends on, and the written scope should list them. The main items are:

  • An app inventory listing each protected service, its hostname, its login protocol and how it is reached today.
  • A named owner for each app who can test and approve the cutover.
  • Change windows and the freeze calendar for each environment.
  • Access to the reverse proxy configuration and DNS records, for example Traefik, Caddy or NGINX, depending on what you run.
  • A PostgreSQL host for authentik, with a DBA or platform engineer who can size and back it up, plus read access to Authelia's storage (PostgreSQL, MySQL or SQLite).
  • Admin access to the user source (an LDAP directory or a YAML user file), to authentik, and to any application that changes its login settings.

Missing owners and change windows often cause more delay than missing technical access, so confirm them before the schedule is set.

Can an internal team migrate from Authelia to authentik alone?

Yes, for a small estate where the team already runs PostgreSQL and knows its reverse proxy well, an internal team can migrate alone. A larger estate, many SAML or OpenID Connect client changes, or strict change control usually justifies outside help for the design and cutover. Whatever the team size, the safety step is the parallel run: Authelia and authentik serve the same apps for a set period, each app switches over separately, and Authelia's configuration stays in place until every app has passed its tests and owner sign-off. Keep a documented rollback for each app. Before deciding, check the skills you need in proxy configuration, PostgreSQL operations, identity source administration and the authentik admin model. If you want outside help, DeployOpen's engagements are fixed in scope, with deliverables and timelines agreed in writing before work starts.

Does moving to authentik require the Enterprise edition?

Enterprise is needed only if your team needs one of the features the authentik pricing page lists as Enterprise-only. authentik core is MIT licensed, but code under the enterprise directory needs a paid subscription for production use. The Enterprise-only features the pricing page lists are:

  • Google Workspace and Microsoft Entra ID integrations
  • mTLS client certificate authentication
  • Privileged access management
  • Password history
  • Enhanced audit logging
  • Ticket-based support for subscriptions over $1k

Authelia's own documentation covers one-time passwords, security keys, passkeys and Duo push, so check whether your current second factors need any of the features above. The pricing page lists Enterprise at $5 per user per month billed annually, plus $0.02 per external user per month. Confirm which features your team needs and confirm current terms with authentik before you budget.

Does authentik import users and second factors from Authelia?

No documented import path from Authelia is confirmed here, so the team must confirm in writing with authentik and DeployOpen before it plans around one. Check three things. First, the user source: if Authelia reads users from LDAP, authentik may be able to point at the same directory, which would avoid moving accounts, but confirm that. If Authelia uses a YAML file of users with hashed passwords, confirm how those accounts and hashes would be loaded. Second, second factors: one-time passwords, security keys, passkeys and Duo registrations are kept in Authelia's storage, and whether they carry over is unconfirmed, so plan user re-enrollment as the fallback. Third, logs: authentication logs stay in Authelia's storage, so decide how long to keep them and where they go.

How DeployOpen scopes and runs an Authelia to authentik move

DeployOpen plans and runs an Authelia to authentik move inside your own infrastructure, whether that is your cloud accounts, data centers or air-gapped networks. Engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. The move is delivered in four stages below, each with written outputs your security and platform teams can review.

How we scope

  • The written scope lists which Authelia-protected applications, user sources and second factors move to authentik and which stay out.
  • We inventory each proxy route and its Authelia access rules, mapping each one to a named authentik target.
  • The scope names which Enterprise-only features are in or out, since some controls sit behind a paid authentik subscription.

How we build

  • We deploy authentik with PostgreSQL, server and worker containers, and the proxy providers your routes need.
  • We rebuild user sources in authentik from your LDAP directory or Authelia's file-based users, then test logins.
  • We review second factor registrations case by case, since device enrollments may need users to re-register in authentik.

How we hand over

  • Handover documents the final configuration of providers, outposts, flows and user sources, with the runbook for your platform team.
  • Cutover steps and a rollback point for each proxy route are written down before the switch.
  • Your team receives access-control, audit logging and data handling notes so your compliance team can review the setup.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Upgrades are scoped against authentik's published security support windows, which your team should confirm on the security policy page.
  • Retainer scope, upgrade timing and testing cadence are agreed in writing, like the initial move.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.