Skip to main content

Integrate with Actual Budget

Support level: Community

What is Actual Budget

Actual Budget is a web-based financial management software. It helps users track and manage their income, expenses, and budgets in real time. The software compares actual spending with planned budgets to improve financial decisions.

-- https://actualbudget.org/

Preparation

The following placeholders are used in this guide:

  • actual.company is the FQDN of the Actual Budget installation.
  • authentik.company is the FQDN of the authentik installation.
note

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 Actual Budget with authentik, you need to create an application/provider pair in authentik.

Create an application and provider in authentik

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

  2. 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 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,Client Secret, and slug values because they will be required later.
      • Set a Strict redirect URI to https://actual.company/openid/callback.
      • Select any available signing key. Actual Budget only supports the RS256 algorithm. Be aware of this when choosing a 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 My applications page.
  3. Click Submit to save the new application and provider.

Actual Budget configuration

You can configure OpenID Connect with Actual Budget by adding the following variables to your .env file.

ACTUAL_OPENID_DISCOVERY_URL=https://authentik.company/application/o/<application_slug>/
ACTUAL_OPENID_CLIENT_ID=Your Client ID from authentik
ACTUAL_OPENID_CLIENT_SECRET=Your Client Secret from authentik
ACTUAL_OPENID_SERVER_HOSTNAME=https://actual.company

User Provisioning

warning

Users are not created automatically in Actual Budget and must be manually provisioned before OIDC authentication, otherwise you will receive a password error.

To provision users:

  1. Log in as a local (non-OIDC) admin.
  2. Navigate to Server online > User Directory.
  3. Create users matching existing authentik usernames.
  4. Grant access to the budget via the User Access tab.

Admin user configuration

For admin users with OIDC integration:

  1. Provision an account with the admin role.
  2. To configure this admin as an owner, transfer ownership via User Access Management.
  3. You may need to reset the admin role afterward if it doesn't appear in the User Directory.

Configuration verification

To confirm that authentik is properly configured with Actual Budget, visit your Actual Budget installation, select the OpenID login method from the dropdown menu, and click Sign in with OpenID.

Resources