Skip to content

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.

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.

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 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:

  1. Optionally set a Label (the invitee’s name) and pick the group — default-tenant unless you have a reason.
  2. Create invite shows the single-use link. Copy it and send it.
  3. The invitee opens it, chooses a username, display name and password, and lands in the directory.
  4. They sign in at https://auth.<zone> and reach the apps they are entitled to.

From the CLI inside the console pod:

Terminal window
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=….

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.

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.

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.

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 (or public) policy;
  • the VPN path uses the same hostname over the tunnel, without forward-auth, with a vpn-only allowlist;
  • the management path is a high-priority IngressRoute matched on ClientIP against 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.

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.

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:

Terminal window
umkim-thin cert list
umkim-thin cert add --name wildcard --cert fullchain.pem --key privkey.pem --hosts '*.example.com,example.com'
umkim-thin cert default --name wildcard
umkim-thin cert remove --name wildcard
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.

  • The console is cluster-admin-adjacent by design: Helm has to install arbitrary charts. Read docs/security-plan.md before 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 trusted route deliberately removes the portal from the VPN and management paths. It is only allowed when the entry declares appAuth, and it never covers home or console.
  • 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.