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.
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.
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 user group
Because Tautulli requires valid HTTP Basic credentials, you must save your HTTP Basic Credentials in authentik. The recommended way to do this is to create a group with the credentials set as attributes.
-
Log in to authentik as an administrator and open the authentik Admin interface.
-
Navigate to Directory > Groups and click Create.
-
Set the following fields for the group:
- Name:
Tautulli users
- Attributes:
tautulli_user: <tautulli_username>
tautulli_password: <tautulli_password> - Name:
-
Click Create.
-
Click the name of the newly created group and navigate to the Users tab.
-
Click Add existing user, select the user that needs Tautulli access, and then click Add.
Create an application and provider
- Log in to authentik as an administrator, and open the authentik Admin interface.
- Navigate to Applications > Applications and click Create with Provider 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.
- 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 to the authentik proxy outpost, set the value to
http://tautulli.company
orhttp://tautulli.company:<tautulli_port>
.
- If Tautulli and the authentik proxy outpost are both running in the same Docker deployment, set the value to
- 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 My applications page.
- Click Submit to save the new application and provider.
Configure proxy outpost
The proxy provider requires an authentik proxy outpost to be configured. See the outpost documentation for more information.
Optionally, you can use the built-in authentik embedded outpost:
- Log in to authentik as an administrator, and open the authentik Admin interface.
- Navigate to Applications > Outposts
- Click on the edit icon of the
authentik Embedded Outpost
. - Under Available Applications, select the Tautulli application and move it to Selected Applications.
- Click Update to save your changes.
Tautulli configuration
To configure basic authentication, set the following variables in the config.ini
file of you Tautulli deployment:
http_basic_auth = 1
http_hash_password = 0
http_hashed_password = 1
http_password = `<your_password>`
Redeploy Tautulli after updating your config.ini
file.
Configuration verification
To confirm that authentik is properly configured with Tautulli, log out of Tautulli. Open the authentik application dashboard (My Applications) and select the Tautulli application. You should be redirected to Tautulli and automatically logged in.