update notes for airvpn

This commit is contained in:
John Gatward committed 2026-10-26 12:10:24 +00:00
1 parent f8cc6f6419
commit 699f81436b
13 files changed
+504 -154

No files matched your search

+49 -24
View File
@@ -2,10 +2,14 @@
schema_version: 1
id: home-server.authentication
type: reference
scope: [jupiter, authentik, oidc, forward-auth, access-groups, secrets]
scope: [jupiter, authentik, oidc, forward-auth, per-user-access, secrets]
sensitivity: private-infrastructure
last_reviewed: "2026-10-18"
last_reviewed: "2026-10-26"
sources:
- kind: owner-report
reference: "Public qbittorrent.umbra.mom UI working through Mercury/Traefik/Authentik with native qBittorrent login retained, 2026-10-26; does not establish broader per-user migration completion"
- kind: owner-report
reference: "Requested removal of custom service-access groups, manual per-user application access and retained Jay administration, 2026-10-26; repository prepared, deployment unconfirmed"
- kind: owner-report
reference: "Requested Authentik-only Homarr login and read-only Docker socket proxy; deployment not confirmed, 2026-10-18"
- kind: owner-report
@@ -49,16 +53,18 @@ sources:
related: [home-server.reference, home-server.networking, home-server.portainer, home-server.backups, home-server.deployment]
update_triggers: [access-policy-change, authentication-change, secret-rotation, middleware-change]
unknowns:
- deployed-group-memberships
- deployed-per-user-bindings-and-jay-superuser-membership
- per-application-local-login-and-account-linking-settings
- retired-authelia-data-retention
---
# Authentication
Authentik replaces Authelia. The owner wanted native OIDC rather than only
forward-auth, with three access groups separating server administration,
development tools and client-facing services. The owner reports the migration
Authentik replaces Authelia. The original setup used native OIDC and forward-auth
with three access groups. On 2026-10-26 the owner requested direct per-user
service access instead; the repository now prepares that migration, with `jay`
allowed into every configured application. Deployment is unconfirmed.
The owner reports the earlier Authentik migration
fully deployed as of 2026-10-16 and Authelia retired. Homarr OIDC login was
reported working on 2026-10-18; linking to the existing account is configured
in the repository but has not been confirmed successful.
@@ -74,23 +80,34 @@ Configuration details below are repository evidence, not live inspection.
| Recent MFA | Five-minute reuse threshold avoids an immediate duplicate challenge |
| Host setup access | Loopback `127.0.0.1:9000` -> server `9000` |
## Access groups
## Per-user application access
Owner terminology maps to the blueprint's exact group names:
Every one of the 15 configured applications has a direct binding for the
**existing** Authentik user `jay`, at order `0`. Applications use
`policy_engine_mode: any`: Jay **or** another explicitly added user may pass.
Unassigned users are denied, and the shared application-MFA flow remains.
The blueprint does not create users or change passwords, MFA devices or
application-native administrator roles.
| Intended group | Authentik group | Purpose / applications |
| --- | --- | --- |
| Admin | `admins` | Owner only; server health/operations: Backrest, Beszel, Dozzle, Notes, Prowlarr, Radarr, Sonarr |
| Developers | `development` | Development services: Gitea, Portainer |
| Clients | `clients` | Useful end-user services: Immich, Paperless, Wardrowbe |
Add other users in the application's **Policy / Group / User Bindings** tab,
using a **User** binding with order `10` or higher, enabled and not negated.
Keep ANY mode and retain Jay's order-0 binding. Manual bindings at other orders
are not removed by blueprint reapplication. Admission does not itself grant
administrator privileges inside a service.
Each application in the access-group table has an enabled group binding; `policy_engine_mode: all`;
binding failure result is false. All three groups have `is_superuser: false`:
`admins` application access is not Authentik superuser status.
No group hierarchy or membership assignment is declared by this blueprint.
Membership in `admins` alone does not grant the development/client applications;
users needing multiple categories need the corresponding memberships.
Actual deployed membership assignments were not supplied.
The blueprint deletes only the custom `admins`, `development` and `clients`
groups after replacing their bindings; their memberships and group-based grants
are removed. **Retain Jay's built-in superuser group membership**, normally
`authentik Admins`: Authentik derives administrator status from a superuser
group, so removing every group would lock out administration.
Before applying, back up Authentik, confirm Jay is still a superuser, and redeploy
Trek with its username-based admin mapping. Copy the updated blueprint into the
host's `/data/authentik/blueprints/jupiter.yaml` and apply it, then individually
assign the other users you want to retain. See the
[access-management runbook](https://github.com/jayo60013/jupiter-stacks/blob/main/stacks/authentik/README.md)
for rollout and rollback. Existing application sessions/API keys need separate
revocation when removing access.
## Native OIDC
@@ -107,11 +124,12 @@ Issuer pattern: `https://auth.umbra.mom/application/o/<client-id>/`.
| `immich` | `photos.umbra.mom` | Database/UI OAuth settings; web and mobile callbacks registered |
| `paperless` | `paperless.umbra.mom` | Compose OpenID Connect/allauth configuration; PKCE enabled; signups disabled |
| `portainer` | `portainer.umbra.mom`, `portainer.local.umbra.mom` | Database/UI OAuth settings; both callback hosts registered |
| `trek` | `holidays.umbra.mom` | Compose OIDC settings; `preferred_username == jay` grants the app admin role |
| `wardrowbe` | `wardrobe.umbra.mom` | Compose OIDC settings for frontend and backend/workers |
Dozzle's custom profile mapping emits `dozzle_roles: ["none"]` for `admins`
members and `[]` otherwise; application access is separately restricted to
`admins`. The email mapping asserts `email_verified` only when the user has
Dozzle's custom profile mapping emits `dozzle_roles: ["none"]` for any user
admitted by its direct application bindings. Its Docker proxy stays read-only.
The email mapping asserts `email_verified` only when the user has
an email and their `email_verified` attribute is explicitly true.
OIDC integration does not prove local password login is disabled or application
@@ -180,7 +198,14 @@ proxy-based protection. Their routers attach `authentik@docker`:
Traefik -> http://authentik-server:9000/outpost.goauthentik.io/auth/traefik
```
The embedded outpost serves five `forward_single` providers, each with an
The blueprint now includes a sixth `forward_single` provider for
`qbittorrent.umbra.mom`, with a direct `jay` user binding and the shared MFA flow.
The owner confirms its public UI and both authentication layers are working
on 2026-10-26. This confirmation is specific to qBittorrent, not proof that the
broader per-user access migration is complete. qBittorrent retains its own password login, and internal Arr API
connections do not pass through Authentik. See [Local downloads](downloads.md).
The embedded-outpost blueprint lists six `forward_single` providers, each with an
explicit external host and empty `skip_path_regex`. A priority-1000 router
on those hosts sends `/outpost.goauthentik.io/` directly to Authentik,
bypassing forward-auth so callbacks can complete.