authentik license: MIT, Enterprise and commercial use

Most authentik code is MIT licensed, while the code in authentik/enterprise/ requires a valid Enterprise subscription for production use. Here is what each license allows, how license keys are tied to a deployment, and what happens when a key expires.

On this page

Can we use authentik commercially under the MIT license, and when do we need an Enterprise subscription?

Yes, for most of the code. The authentik repository is mostly MIT-licensed, so you can use it commercially without a subscription. The exception is the code in the authentik/enterprise/ directory, which falls under a separate Enterprise Edition license. Using that directory in production requires that you have agreed to the authentik subscription terms and hold a valid Enterprise subscription for the correct number of user seats. The license file also places website content under CC BY-SA 4.0 and client-side JavaScript under MIT Expat, which matters only if you redistribute those parts.

This page is written for engineering leads, security architects, procurement and legal reviewers who need to decide whether the open-source build is enough for their use case, or whether a subscription must be part of the budget. Engineering needs to know which features sit behind the Enterprise directory. Procurement and legal need the seat-based terms and the restrictions on copying, distributing and sublicensing. Security reviewers should confirm which controls they depend on are Enterprise-only. The pricing and feature comparison sit on sibling pages, so this page focuses on the license boundaries.

Before you rely on the MIT grant, run a short check against your own deployment. Confirm which features your design needs, then map each one to the Enterprise directory using the authentik LICENSE file on GitHub and the Enterprise license text. If any required feature lives there, the cost of a subscription must appear in the plan, and the seat count must match your real user population. Ask the vendor to confirm how seats are counted for workforce and external users before you commit.

The Enterprise license permits copying and modifying the enterprise software for development and testing without a subscription. Production use is different, and modifications and patches may only be used with a valid subscription. Plan a staging environment that can run the Enterprise code without serving real users, and record which team owns the subscription decision. Legal should also review whether your use, such as offering authentik to customers as part of a hosted service, falls within the terms, since the license forbids sublicensing and selling the enterprise software.

How the MIT license, the Enterprise license and the editions compare

This table compares the code licenses and the three commercial editions side by side, so you can see which use is permitted, which is restricted and whether a subscription is needed. Figures in the pricing rows come from the published authentik pricing page, while the license rows come from the license texts in the repository.

ItemWhat use is permittedWhat is restricted and whether a subscription is required
MIT license (code outside authentik/enterprise/ and website/)Use, copy, modify, merge, publish, distribute, sublicense and sell the covered code under MIT termsNo subscription required. Keep the MIT notice with redistributed copies, as the MIT terms require
Enterprise license (authentik/enterprise/)Copy and modify for development and testing without a subscriptionProduction use requires agreeing to the subscription terms and holding a valid subscription for the correct number of user seats. Copying, distributing, sublicensing or selling is forbidden
Website content (website/)Content is licensed under CC BY-SA 4.0Attribution and share-alike conditions apply to reuse of that content. It does not change software licensing
Open Source edition (pricing page)Free use of the open source code, with community Discord as the only listed support channelNo subscription fee. Enterprise-only features are not available. Community support only
Enterprise (pricing page: $5 per user per month billed annually, plus $0.02 per external user per month)Production use of enterprise code with a valid key tied to one Install IDSubscription required for production. Price figures are from the published pricing page. Confirm the user counting rules before you quote
Enterprise Plus (pricing page: starting at $20k annually)Enterprise use plus dedicated support with SLAs, multi-instance deployment support and FIPS compliance for FedRAMP requirements, per the pricing pageSubscription required. The starting price is from the pricing page. Confirm the final terms and scope in your written agreement

Which license situation applies to our use case?

Your organization runs authentik for its own workforce or customers, and the deployment uses Enterprise features such as the Google Workspace or Microsoft Entra ID integrations or enhanced audit logging. The code in the authentik/enterprise/ directory is covered by the Enterprise Edition license, so production use depends on a valid subscription for the correct number of user seats. Read the Enterprise get started guide before you plan the rollout.

  • Governing license. Enterprise directory code falls under its own license, while the rest of the code stays under MIT.
  • Subscription and seats. Production use requires that you have agreed to the authentik subscription terms and hold a valid subscription for your seat count.
  • Key binding. The key is tied to one deployment's Install ID, and a key issued for a different Install ID is rejected.
  • Expiry handling. Admins see a warning two weeks before expiry, and the deployment enters read-only mode after the license has been expired or over capacity for more than six weeks.

Confirm with authentik how seats are counted for your user population and how seat counts change if headcount grows during the term.

How a license key is tied to one deployment

This sequence binds an Enterprise license key to one authentik deployment by its Install ID, so the key is accepted only where it was issued and the deployment can run Enterprise features without any later online check.

  1. Locate the deployment's Install ID

    Start in the Admin interface of the authentik deployment that will run Enterprise. The Install ID identifies that specific installation, and it is the value a license key is issued against. Record it exactly as shown, because a key issued for a different Install ID will be rejected. Whoever administers the deployment should retrieve this value, and the step is done when the Install ID is copied into your licensing request or ticket with no transcription errors.

  2. Request a key issued for that Install ID

    Send the Install ID to your authentik subscription contact so the key is generated for that one deployment. Confirm the number of user seats on the subscription matches what the deployment will license, since the Enterprise license requires a valid subscription for the correct number of seats. The step is done when you hold a key that names the Install ID you recorded. If the Install ID is wrong or the seat count differs, ask for a corrected key before going further.

  3. Open the Enterprise licenses page

    Sign in to the Admin interface of the same deployment with an administrator account that can change system configuration. Navigate to Enterprise, then Licenses. This is the location where authentik expects the key to be installed. The step is done when the Licenses page loads and shows the current license state, which may be empty on a new Enterprise setup.

  4. Install the license key

    Paste or upload the issued key into the Licenses page and save it. Installing the key is a configuration change made by an administrator inside the deployment, so keep a record of who installed it and when, in line with your change management process. The step is done when the key is saved and appears in the list of licenses on that page.

  5. Confirm the key is accepted

    Check the Licenses page for the installed key and confirm it is recognized as valid for this deployment, with the expected seat count and expiry date. If the key was issued for a different Install ID, it is rejected at this point, and the fix is a new key for the correct Install ID rather than a retry. The step is done when the key displays as accepted for this deployment and the Enterprise features you rely on are available to administrators.

  6. Confirm operation without internet access

    Because validation is performed locally, with no periodic online license check, the deployment does not need outbound internet access to keep the license working after installation. Verify this in your own environment by testing the deployment from a network segment that cannot reach the internet, and confirm Enterprise features still load. Record the result with the license record, since it matters for air-gapped and restricted networks. The step is done when the deployment keeps running Enterprise features in that segment.

How a license moves from valid to read-only

The lifecycle starts when a license key is issued for one Install ID and installed under Enterprise, then Licenses, in the Admin interface. The deployment validates the key locally, so it needs no online check. Admins see a warning two weeks before expiry. If the license has been expired or over capacity for more than six weeks, the deployment enters read-only mode: users can still authenticate, but admins cannot change most objects. Renewing in the Customer Portal does not update the key stored in the deployment, so confirm the renewed key is installed.

The diagram shows license states, the read-only trigger, and why renewal alone is not enough.

What happens when a license expires or the user count goes over capacity?

Enforcement of an authentik Enterprise license follows a fixed timeline, and the step most often missed is installing the renewed key. Admins see a warning two weeks before a license expires. If the license lapses, or the deployment runs over its licensed capacity, the deployment does not stop on the spot. It enters read-only mode only once the license has been expired, or over capacity, for more than six weeks. That gives the team a window to renew, but it is a window to act in, not a grace period to plan around.

In read-only mode, users can still authenticate, so applications that depend on authentik keep signing people in. Administrators cannot change most objects, which blocks new applications, provider changes, policy edits and user administration until the key is fixed. Renewing in the Customer Portal does not update the key stored in the deployment. The new key must be installed under Enterprise, then Licenses, in the Admin interface. Confirm that the key you install is issued for the deployment's Install ID, because a key issued for a different Install ID is rejected. Check the license status in the Admin interface after installing, not only the renewal confirmation email.

Monitoring and ownership close the loop. Put the license expiry date and the licensed seat count on the operations dashboard or calendar, with alerts scheduled well before the two-week warning. Track active user counts against the seat count each month, since growth in workforce or external users is the usual cause of an over-capacity state. In the approval document, name one owner for renewal and one backup, state who buys the renewal and who installs the key, and record the Install ID next to the license terms. Confirm with the vendor how seat counts are measured before the first renewal.

What the Enterprise license requires of our organization

The Enterprise Edition license sets conditions that depend on where the software runs and how it is used. Production use needs a subscription, while development, testing and modification have different rules, and redistribution is restricted. The cards below cover each obligation a reviewer should confirm before deployment.

Production use requires a subscription

Running enterprise code in production is allowed only if your organization has agreed to the authentik subscription terms and holds a valid Enterprise Edition subscription for the correct number of user seats. The seat count must match your real user population, so the reviewer should compare the licensed count against the users who will authenticate through the deployment, including external users. Confirm the exact terms with authentik before go-live, since the license file refers to those terms without repeating them.

Enterprise license text

Development and testing need no subscription

The Enterprise license lets you copy and modify the enterprise software for development and testing without a subscription. This allows engineers to build integrations, rehearse upgrades and test provider configuration in a non-production environment. Keep those copies separated from production, because the permission covers development and testing only and does not extend to running the same environment for live users.

Enterprise license text

No copying, publishing or redistribution

The license forbids copying, merging, publishing, distributing, sublicensing or selling the enterprise software. In practice, this limits sharing enterprise code with partners, embedding it in a product your organization resells, or posting modified builds to an internal artifact store used by other companies. Review any managed service or contractor arrangement with legal counsel to confirm that the work does not amount to distribution.

Enterprise license text

Modifications require a valid subscription

Modifications and patches to the enterprise software may only be used with a valid subscription. If your team or a partner patches enterprise code to fix a defect or add behavior, that patched build is covered by the same subscription condition as the original. Record each change, its author and the deployment where it runs, so the organization can show which production instances use modified enterprise code.

Open source code keeps MIT terms

Code outside the enterprise directory is available under the MIT license, and client-side JavaScript is under MIT Expat. The MIT license carries its own conditions, including keeping the copyright and permission notice with copies of the software. The reviewer should read the LICENSE file in the repository directly, because those notices govern the open-source portions even when the enterprise terms do not apply.

authentik LICENSE file

What changes the total cost beyond the license fee

This table compares the cost drivers that sit outside the Enterprise license fee, showing what raises each one, what lowers it and who pays. Read it before you request a quote, because the license key is only one input to the total. The main takeaway is that seat counts, deployment count and the infrastructure you run usually move the total more than the key itself.

Cost driverWhat raises itWhat lowers itWho pays
Licensed user seatsMore workforce users and more external users counted under the subscription, including growth during the termAccurate seat counts agreed up front, and clear rules for which accounts count as licensed usersYour organization, through the subscription
Deployments needing their own keySeparate production, staging or regional installs, since a key is tied to one deployment through its Install IDFewer production installs, and a planned decision on which environments need a licensed keyYour organization, per deployment
Development and test copiesKeeping full production-like copies that you run outside production useUsing the development and testing allowance in the Enterprise license for non-production workYour organization, mostly in infrastructure and staff time
Compose host minimumRunning Compose for anything beyond test or small-scale production, where the guide sets a floor of 2 CPU cores and 2 GB of RAMSizing above the stated minimum from load tests rather than guessworkYour organization, through cloud or hardware spend
Production PostgreSQLKubernetes guidance recommends a separately managed PostgreSQL for production, not the bundled demo databaseReusing a managed PostgreSQL service you already operate, if your standards allow itYour organization, through database hosting and administration
Renewal and expiry handlingAdmins get a warning two weeks before expiry, and renewals in the Customer Portal do not update the stored keyA named owner, a calendar reminder and a documented key install step after each renewalYour organization, through admin staff time
Upgrades and version trackingSecurity releases are announced at least 24 hours ahead, and supported versions change over timeA planned upgrade cadence and a test environment for each releaseYour organization, through platform engineering time

Which license mistakes catch buyers out after approval?

Most license problems with authentik appear after purchase, when a deployment is rebuilt, a renewal is processed or the user count grows. The risks below share one pattern: the license is tied to a specific deployment and a specific seat count, and the license docs describe what happens when either changes.

Running Enterprise code without a subscription

Enterprise code under authentik/enterprise/ may only be used in production when you have agreed to the subscription terms and hold a valid Enterprise subscription for the correct number of user seats. Development and testing use is permitted without a subscription, so a staging copy that quietly becomes production creates exposure. Check which environments run Enterprise features and confirm that each production instance is covered before go-live.

Enterprise license text

Installing a key for another Install ID

A license key is tied to one deployment through its Install ID, and a key issued for a different Install ID is rejected. This often surfaces during a rebuild, restore into a new host or migration to a new cluster, when the Install ID changes and the old key no longer fits. Record the Install ID for each deployment and ask the vendor to confirm how an Install ID change is handled before you plan a migration.

Assuming renewal updates the deployment

Renewing in the Customer Portal does not update the key stored in the deployment, according to the license docs. A team that pays for renewal and assumes the instance is covered may find the warning and expiry behavior still applies. After each renewal, install the new key under Enterprise, then Licenses in the Admin interface, and confirm the new expiry date appears there.

License management docs

Letting a key lapse past the warning

Admins see a warning two weeks before a license expires. If the key is then left expired for more than six weeks, the deployment enters read-only mode. In that mode users can still authenticate, but admins cannot change most objects, which blocks urgent fixes such as adding an application or rotating a provider. Assign a named owner to watch the expiry date and schedule renewal well before the warning appears.

Before read-only mode
Six weeks

Growing users past licensed seats

Enterprise is licensed for a number of user seats, and a deployment that grows beyond its licensed count can also enter read-only mode when it has been over capacity for more than six weeks. Directory syncs and onboarding waves can raise the count without anyone noticing. Track active user numbers against the seat count each quarter and confirm with the vendor how external users are counted before you add a large partner group.

Copying Enterprise code into other products

The Enterprise license forbids copying, merging, publishing, distributing, sublicensing or selling the enterprise software, and modifications and patches may only be used with a valid subscription. Teams that fork authentik for a customer portal or reuse a connector in an internal tool can breach these terms even when the MIT-licensed parts are fine. Keep Enterprise modules out of any redistributed build, and have counsel review any plan to package or resell the code.

What do procurement, legal and security reviewers ask about authentik licensing?

Can we run the MIT-licensed authentik code in production without a subscription?

Yes, the code outside the enterprise directory is available under the MIT license, and that license does not require a subscription. The LICENSE file of the repository states that content outside authentik/enterprise/ and website/ is under MIT, and client-side JavaScript is under MIT Expat. Reviewers should confirm that the deployed build contains no files from authentik/enterprise/, because those files fall under a different license. Ask the vendor which features in your planned configuration depend on Enterprise code, since those features do need a subscription for production use.

Does development and testing of Enterprise features need a license?

No subscription is needed for development and testing of the Enterprise software. The Enterprise Edition license allows you to copy and modify the enterprise software for development and testing purposes without a subscription. The same license limits production use to organizations that have agreed to the authentik subscription terms and hold a valid Enterprise subscription for the correct number of user seats. Reviewers should record which environments are classed as test and which are production, so that a test copy does not drift into live use.

Can a product we sell to customers embed or redistribute Enterprise code?

The Enterprise Edition license does not permit this. It forbids copying, merging, publishing, distributing, sublicensing or selling the enterprise software, and it says modifications and patches may only be used with a valid subscription. Legal teams should treat any plan to ship Enterprise code inside a customer-facing product as outside the license terms. Confirm with the vendor how multi-tenant or customer-facing use is licensed before committing to that architecture, because the license text alone does not settle every case.

Does the Enterprise license work on an offline or air-gapped network?

Yes, the license is validated locally and no periodic online license check is made. According to the authentik Enterprise docs, installing and using a license does not require internet access. The key is tied to one deployment through its Install ID, and a key issued for a different Install ID is rejected. Security teams should still confirm with the vendor the exact steps for obtaining an Install ID and key in a disconnected network, and how renewals are delivered there.

What happens to our deployment when the Enterprise license expires?

Admins receive a warning two weeks before expiry. If the license has been expired for more than six weeks, the deployment enters read-only mode. In that mode users can still authenticate, but admins cannot change most objects. Continuity planners should note that renewing in the Customer Portal does not update the key stored in the deployment, so the new key must be installed under Enterprise and then Licenses in the Admin interface. Build a renewal calendar with the two-week warning in mind.

How much internal effort does managing license keys take, and when is outside help useful?

Routine license work is small: track the expiry date, obtain the renewed key, install it in the Admin interface and confirm the Install ID matches. The effort grows when several deployments, test copies and disconnected sites each need their own key. Ask the vendor how seat counts are reconciled for growth and for external users, and whether the subscription terms change the count. Outside help from an implementation partner such as DeployOpen can cover setting up the renewal process, but the subscription and its pricing come from the vendor, and DeployOpen does not set them.

Which license terms should we confirm in writing with authentik before signing?

Get written confirmation of four points: the number of user seats your subscription covers and how external users are counted, the Install ID rules for each deployment, the handling of test and staging copies, and the terms for customer-facing or multi-tenant use. The public license file and docs do not settle every commercial question, so the subscription terms agreed with the vendor govern production use. Ask for these answers before procurement approval, so the legal review works from the signed terms rather than from assumptions.

How DeployOpen helps you put authentik into production within its license terms

DeployOpen starts by confirming which authentik code and which license apply to your planned use, including whether any authentik/enterprise/ features or subscription seats are needed. We then plan, build, document and hand over a deployment inside your own infrastructure, with license key handling and renewal dates written into the operating plan.

How we scope

  • We list which authentik features you need and mark which ones fall under the Enterprise Edition license.
  • We agree on the expected user seat count, production versus test environments, and who holds the subscription.
  • Engagements are fixed-scope, so the written scope states deliverables, timelines and license responsibilities before work starts.

How we build

  • We install the license key under Enterprise then Licenses, after confirming the Install ID matches the target deployment.
  • We separate development and test copies from production so enterprise code is only used where a subscription covers it.
  • We record the license expiry date and the read-only mode thresholds in the runbook, with alerts set ahead of the two-week warning.

How we hand over

  • You receive documentation of the license model, the Install ID binding and the steps for replacing a key after renewal.
  • We document the procedure for updating the stored key, since renewing in the Customer Portal does not update the deployment.
  • We walk your team through offline license validation so the deployment runs without internet access once installed.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing.
  • We review license status, seat counts and renewal dates with your team on the agreed retainer cadence.
  • For questions about subscription terms or entitlements, we direct you to authentik and confirm the answer against the current license text.

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.