Skip to main content

Integrate with Komodo

Support level: Community

What is Komodo?

Komodo is a web application for managing servers, builds, deployments, and automated procedures.

-- https://komo.do/

Preparation

The following placeholders are used in this guide:

  • komodo.company is the FQDN of your Komodo installation.
  • authentik.company is the FQDN of the authentik installation.
info

This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application.

authentik configuration

Redirect URI changes in authentik 2026.5

In authentik versions earlier than 2026.5, all Redirect URIs are automatically treated as Authorization type. If you are using one of these older authentik versions, add only the Authorization URL to your Redirect URIs and do not configure a Post Logout URI.

To support the integration of Komodo with authentik, you need to create an application/provider pair in authentik.

Create an application and provider

  1. Log in to authentik as an administrator and open the authentik Admin interface.

  2. Navigate to Applications > Applications and click New Application to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.)

    • Application: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings. Note the application Slug because it will be required later.
    • Choose a Provider type: select OAuth2/OpenID Connect as the provider type.
    • Configure the Provider: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configurations.
      • Note the Client ID and Client Secret values because they will be required later.
      • Add a Redirect URI of type Strict Authorization as https://komodo.company/auth/oidc/callback.
      • Select any available signing key.
    • Configure Bindings (optional): you can create a binding (policy, group, or user) to manage the listing and access to applications on a user's Application Dashboard page.
    • Configure Launch URL (optional): set to https://komodo.company/auth/oidc/login.
  3. Click Submit to save the new application and provider.

Komodo configuration

Set up OIDC connection

Edit the following environment variables in your Komodo compose.env file, or set the equivalent values in your mounted ./komodo/core.config.toml file:

compose.env
KOMODO_HOST=https://komodo.company
KOMODO_OIDC_ENABLED=true
KOMODO_OIDC_PROVIDER=https://authentik.company/application/o/<application_slug>/
KOMODO_OIDC_CLIENT_ID=<client_id_from_authentik>
KOMODO_OIDC_CLIENT_SECRET=<client_secret_from_authentik>

KOMODO_HOST must match the URL that users use to access Komodo, because Komodo uses it to build the OIDC callback URL.

If Komodo Core must use an internal URL to reach authentik, set KOMODO_OIDC_PROVIDER to that internal provider URL and set KOMODO_OIDC_REDIRECT_HOST=https://authentik.company. The redirect host must not include the /application/o/<application_slug>/ path.

To send unauthenticated users directly to authentik instead of showing the Komodo login page, add KOMODO_OIDC_AUTO_REDIRECT=true.

Redeploy Komodo for the changes to take effect.

Enable users

Komodo creates OIDC users when they first sign in. New users must be enabled by a Komodo administrator unless you configure KOMODO_ENABLE_NEW_USERS=true.

  1. Log in to Komodo via the OIDC button on the login page.
  2. Complete the authentik login flow.
  3. After you are redirected back to Komodo, the User Not Enabled message is displayed.
  4. Log in to Komodo using a local administrator account.
  5. In the sidebar, click Settings. Under Users, click the authentik user. The User type should be OIDC.
  6. Click Enable User, and assign the desired permissions.

Configuration verification

To confirm that authentik is properly configured with Komodo, open Komodo and click OIDC. You should be redirected to authentik, and then returned to the Komodo dashboard.

Resources