website/integrations/miscellaneous/actual-budget/index.mdx
import TabItem from "@theme/TabItem"; import Tabs from "@theme/Tabs";
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.
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.:::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. :::
To support the integration of Actual Budget with authentik, you need to create an application/provider pair in authentik.
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.)
Strict redirect URI to https://actual.company/openid/callback.Click Submit to save the new application and provider.
<Tabs
defaultValue="env"
values={[
{ label: 'With Environment Variables', value: 'env' },
{ label: 'By editing the JSON file', value: 'json' },
{ label: 'Using the UI', value: 'ui' },
]}>
<TabItem value="env">
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
You can configure Actual Budget to authenticate users with OpenID Connect by modifying the /data/config.json file or its equivalent specified by the ACTUAL_DATA_DIR environment variable.
"openId": {
"issuer": "https://authentik.company/application/o/<application_slug>/",
"client_id": "<Client ID from authentik>",
"client_secret": "<Client Secret from authentik>",
"server_hostname": "https://actual.company",
"authMethod": "openid"
}
Alternatively, it is possible to configure OpenID Connect via the UI.
https://authentik.company/application/o/<application_slug>/:::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:
For admin users with OIDC integration:
admin role.admin role afterward if it doesn't appear in the User Directory.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.