triauth for Actual BudgetOIDC
Let everyone in your household open the shared budget with one approval on their own device, and no server password.
- Sign-in through
- OpenID Connect bridge
- Available in
- Actual 25.1 and newer
- Set up in
- The server's environment
About Actual Budget
Actual is a personal finance app for envelope budgeting, bank imports, and reports. The budget is stored on each device and syncs through a small server you run yourself, so the web app, the desktop apps, and phones all share one budget. Signing in through a provider also unlocks multi-user mode, where each person signs in as themselves.
Connect Actual Budget to triauth
Actual signs people in through the triauth OpenID Connect bridge. Once connected, the sign-in page shows Sign in with OpenID. People click it, type their username, and approve on their own device. Nobody shares a server password any more, and when someone leaves, removing their identity records at your domain ends their access to the budget as well.
How it works
Open oidc.triauth.org and enter your domain. Paste Actual's redirect address,
https://actual.example.com/openid/callbackwith your own server address in place ofactual.example.com, and click Connect app. The bridge gives you a client ID and a client secret.Add the settings below to the server's environment and restart it. Replace
example.comwith your domain,actual.example.comwith your server address, and the two placeholders with the client ID and the client secret from the bridge.iniACTUAL_OPENID_DISCOVERY_URL=https://oidc.triauth.org/example.com ACTUAL_OPENID_CLIENT_ID=<client ID from the bridge> ACTUAL_OPENID_CLIENT_SECRET=<client secret from the bridge> ACTUAL_OPENID_SERVER_HOSTNAME=https://actual.example.com ACTUAL_USER_CREATION_MODE=loginOpen Actual and click Sign in with OpenID. Do this yourself first: the first person to sign in becomes the server owner.
Checkpoint
Actual's sign-in page shows Sign in with OpenID. Choosing it opens a page from the bridge that asks for the username, and the person's authenticator asks them to approve.
Good to know
- The first person to sign in owns the server and administers the others. With the creation mode
login, everyone else with an identity at your domain gets an account the first time they sign in, named after their username, such asjohn, and an existing account with that name becomes theirs. Without it, the owner adds people in the User Directory under their username. To let only one group in, limit the app to a group when you connect it. - Each budget file is shared with chosen people from its User Access Management page. The groups published at your domain are not used.
- The desktop and mobile apps sign in through the same page, so nobody types a password anywhere.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your-actual>/openid/callback, built from the server hostname setting |
| Where in Actual | environment variables or config.json, or from a budget's Settings › Authentication method › Start using OpenID with the provider Other |
| Provider URL | https://oidc.triauth.org/<your domain>, with or without the well-known suffix. Actual keeps the path |
| Scopes | fixed to openid email profile |
| Passwords | ACTUAL_OPENID_ENFORCE=true removes the server password sign-in once everyone is over |
Actual keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Actual's OpenID guide and the multi-user guide explain every setting.
Next steps
- Read the OpenID Connect bridge page for what every connected app gets and what the bridge keeps private.
- Read Roll out to your team to give everyone in your household or organization an identifier at your domain.
- Read Groups to limit the budget server to one group when you connect it.
- Read Actual's OpenID guide for every setting Actual offers.
All logos and trademarks belong to their respective owners and do not imply affiliation or endorsement of the organization or product by triauth, nor vice versa. The content provided on this page may include information from third-party sources. We do not assume any responsibility for the completeness, correctness, or applicability of the information. You should independently verify any details before relying on them.
