Skip to main content

Integrate with Tautulli

Support level: Community

What is Tautulli?

Tautulli is an application that you can run alongside your Plex Media Server to monitor activity and track various statistics. These statistics include what has been watched, who watched it, when and where they watched it, and how it was watched.

-- https://tautulli.com/

Preparation

The following placeholders are used in this guide:

  • tautulli.company is the FQDN of the Tautulli 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

To support the integration of Tautulli with authentik, you need to create a group, a proxy outpost, and an application/provider pair in authentik.

Create a group for Tautulli credentials

Because Tautulli uses a single set of HTTP Basic credentials, save those credentials in authentik as group attributes.

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

  2. Navigate to Directory > Groups and click Create.

  3. Set the following fields for the group:

    • Name: Tautulli users
    • Attributes:
    tautulli_user: <tautulli_username>
    tautulli_password: <tautulli_password>
  4. Click Create.

  5. Click the name of the newly created group and navigate to the Users tab.

  6. Click Add existing user, select each user that needs Tautulli access, and then click Add.

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 open the application wizard.

    • Application: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings.
    • Choose a Provider type: select Proxy Provider 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.
      • External host: set this to the external URL you will use to access Tautulli.
      • Internal host:
        • If Tautulli and the authentik proxy outpost are both running in the same Docker deployment, set the value to http://<tautulli_container_name>:<tautulli_port>.
        • If Tautulli and the authentik proxy outpost are both running in the same Kubernetes deployment, set the value to http://<tautulli_service_name>.<namespace>.svc.cluster.local:<tautulli_port>.
        • If Tautulli is running on a different server than the authentik proxy outpost, set the value to http://tautulli.company or http://tautulli.company:<tautulli_port>.
      • Under Authentication settings:
        • Send HTTP-Basic Authentication: enabled.
        • HTTP-Basic Username Key: tautulli_user.
        • HTTP-Basic Password Key: tautulli_password.
    • 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.
  3. Click Submit to save the new application and provider.

Configure proxy outpost

The proxy provider requires an authentik proxy outpost. If you do not already have a proxy outpost, follow the outpost documentation to create and deploy one.

  1. Log in to authentik as an administrator and open the authentik Admin interface.
  2. Navigate to Applications > Outposts.
  3. Click the edit icon for the proxy outpost. This can be the built-in authentik Embedded Outpost or another proxy outpost.
  4. Under Available Applications, select the Tautulli application and move it to Selected Applications.
  5. Click Update to save your changes.

Tautulli configuration

Stop Tautulli, then set the following values in the config.ini file of your Tautulli deployment. Use the same username and password values that you configured in the authentik group attributes.

config.ini
[General]
http_basic_auth = 1
http_hash_password = 0
http_hashed_password = 1
http_username = <tautulli_username>
http_password = <tautulli_password>

Start Tautulli after updating your config.ini file.

Configuration verification

To confirm that authentik is properly configured with Tautulli, open Tautulli. You should be redirected to authentik, then automatically logged in to Tautulli.

Resources