Identity and access
UMKIM Thin’s promise is one account, not necessarily one login prompt. A second login screen that takes the directory credentials is fine; an app-local account is not. The directory (LLDAP) and Authelia keep that true as apps are added.
The layers
Section titled “The layers”| Layer | What it does |
|---|---|
| Authelia portal | The SSO session and the OIDC provider at https://auth.<zone> |
| Forward-auth | Traefik asks Authelia before proxying. It gates a route but does not pass an identity to the app |
| App identity | The app’s own session: OIDC, LDAP, or a local login |
Forward-auth alone never removes an app’s login. An app either speaks OIDC, trusts the directory over LDAP, or keeps its own login.
What the catalog does per app
Section titled “What the catalog does per app”Each catalog entry declares its auth.kind — the portal policy:
forward_auth— Authelia challenges the browser session. The app may still show its own login.oidc— the app authenticates against Authelia as an OIDC client; the client and secret are generated at install time.none— deliberately public. This is opt-in and rare.
Separately, appAuth.kind records what the application itself offers (ldap, oidc, local, token). That distinction is what makes a trusted route safe: the portal can step aside without leaving the app open.
The result is a small, honest matrix rather than a promise of universal SSO:
| App | Portal | App-level auth | Notes |
|---|---|---|---|
| Immich | OIDC | OIDC | one portal login, then the app signs itself in |
| Paperless-ngx | OIDC | OIDC | one portal login, then the app signs itself in |
| Mealie | OIDC | OIDC | recipes belong to directory users |
| SparkyFitness | OIDC | OIDC | the Android app uses a generated API key |
| Actual Budget | OIDC | OIDC | community clients fall back to Actual’s own auth |
| HomeBox | OIDC | OIDC | |
| Gitea | OIDC | LDAP + OIDC source | new-user OIDC auto-registration still needs the admin auth-source API; LDAP and SSH work |
| Nextcloud | forward-auth | LDAP | same username and password, a second login screen; user_oidc is not enabled yet |
| Jellyfin | forward-auth | LDAP plugin | native clients authenticate directly |
| Servarr apps | forward-auth | local forms | admin tools with their own login |
| WireGuard | — | keys | no browser session involved |
A directory user signs in to every family-facing app with the same credentials. Removing that person from the directory stops their access everywhere; delete the account once, in one place.
Invitations
Section titled “Invitations”Invitations are the onboarding path. An invitation always creates a new account; it never resets or takes over an existing one. Redeeming it twice is refused, and revoking it removes the link.
From the console, Access → Invitations:
- Optionally set a Label (the invitee’s name) and pick the group —
default-tenantunless you have a reason. - Create invite shows the single-use link. Copy it and send it.
- The invitee opens it, chooses a username, display name and password, and lands in the directory.
- They sign in at
https://auth.<zone>and reach the apps they are entitled to.
From the CLI inside the console pod:
kubectl -n umkim-thin exec deploy/umkim-thin-console -- \ /usr/local/bin/umkim-thin invite create --email someone@example.com --group default-tenant
kubectl -n umkim-thin exec deploy/umkim-thin-console -- \ /usr/local/bin/umkim-thin invite list
kubectl -n umkim-thin exec deploy/umkim-thin-console -- \ /usr/local/bin/umkim-thin invite revoke <token>invite groups lists the directory groups an invitation can target. The invite page itself is part of the identity release and is served at https://auth.<zone>/invite?token=….
The directory UI
Section titled “The directory UI”https://lldap.<zone> is LLDAP’s admin page behind the portal. It is where the operator does the occasional directory task:
- reset a forgotten password (LLDAP has no email reset — deliberate);
- remove a person;
- inspect users and groups.
General user management is not a console feature; the directory UI is the intended surface for it.
The household home page
Section titled “The household home page”https://home.<zone> is a read-only launcher for directory users: installed apps with their display name, description, launch link, and a coarse Available / Starting / Unavailable status. It has no namespaces, Helm status, installs, upgrades, invites or storage controls.
It is gated only by Authelia forward-auth — it never asks for the console login — and it refuses requests without Authelia’s Remote-User header, so the in-cluster port is not a second unauthenticated surface. It also carries a Change password link to the directory’s own UI, so the platform never handles the password.
Exposure modes
Section titled “Exposure modes”Every catalog route is explicit about how it is published. There is no implicit default.
| Mode | Meaning |
|---|---|
public |
No Authelia in front. The app must protect itself; use sparingly |
authelia |
The normal mode: forward-auth challenges the browser, with declared public paths exempted |
vpn |
Published only on the internal VPN entrypoint; reachable over WireGuard, not from the public internet |
vpn routes may also use allowLocal so a client on the management network can reach them. A VPN-only app needs split DNS (or the VPN hostname) to be usable — a private route without split DNS is a common way to lock yourself out.
Trusted access
Section titled “Trusted access”A third path exists for apps with native clients that cannot complete a browser login. A route can opt in with trusted.vpn and/or trusted.management, and it must declare appAuth, because Authelia is not in front of those paths:
- the public hostname keeps the normal
authelia(orpublic) policy; - the VPN path uses the same hostname over the tunnel, without forward-auth, with a
vpn-onlyallowlist; - the management path is a high-priority
IngressRoutematched onClientIPagainst the configured CIDRs, also without forward-auth.
This is why the Android and iOS apps work against the same URL as the browser: inside the tunnel they authenticate to the app itself, not to the portal. Trusted access is off by default and inert until the installer enables it.
Public paths
Section titled “Public paths”Apps such as Nextcloud and Immich need token-authenticated URLs to bypass forward-auth: share links, OIDC callbacks, WOPI, and native-client endpoints. The catalog declares these as anchored regexes (^/s/, never /s) so a pattern cannot silently exempt more than intended.
Nextcloud and Immich are configured so a share link works for someone without a directory account — the app enforces its own share token or password. That is a deliberate exception to “everything is behind the portal”, not an oversight.
Certificates
Section titled “Certificates”| Mode | Result |
|---|---|
acme |
Traefik obtains a certificate for the host (HTTP-01) |
default |
The manual wildcard certificate in Traefik’s TLS store |
secret:<name> |
A TLS Secret in the app namespace |
The console’s Certificates tab lets you upload and inspect manual certificates; the CLI has the same operations:
umkim-thin cert listumkim-thin cert add --name wildcard --cert fullchain.pem --key privkey.pem --hosts '*.example.com,example.com'umkim-thin cert default --name wildcardumkim-thin cert remove --name wildcardOperator accounts
Section titled “Operator accounts”| Account | Where | Use |
|---|---|---|
admin |
Portal, console, directory | day-to-day administration |
localadmin |
Console only | breakglass when the directory or portal is down |
The console keeps its own session on purpose: Authelia protects the route, but the console remains reachable during an identity outage. Both the console session cookie and the service credentials belong in a password manager.
Security notes
Section titled “Security notes”- The console is cluster-admin-adjacent by design: Helm has to install arbitrary charts. Read
docs/security-plan.mdbefore exposing it to the internet. - Everyone with a directory account is trusted with the family apps. There are no per-app ACLs; each app’s own login is the second gate.
- A
trustedroute deliberately removes the portal from the VPN and management paths. It is only allowed when the entry declaresappAuth, and it never covershomeorconsole. - The builder is the only privileged workload, in its own namespace, and secrets are write-only through the API and passed to the cluster on stdin.
- The console writes one audit line per privileged action (actor, action, app) and never logs values.