Move every OIDC client from Keycloak back to Authelia #452

Open
opened 2026-10-10 12:39:24 +02:00 by dominik.polakovics · 2 comments

Switch the fleet's OIDC consumers back from Keycloak (sso.cloonar.com) to Authelia (auth.cloonar.com): Grafana, Immich, Nextcloud, Matrix (MAS), Warpgate, OneCLI, Paperless in Nix; Forgejo and FreeScout by hand in their admin UIs. Authelia needs the three clients that only ever existed in Keycloak (onecli, warpgate, paperless), a paperless authorization policy, and FreeScout's regenerated callback /oauth-login/callback/ljux42f7k. Keycloak stays running as the rollback path; its removal is a follow-up.

Switch the fleet's OIDC consumers back from Keycloak (`sso.cloonar.com`) to Authelia (`auth.cloonar.com`): Grafana, Immich, Nextcloud, Matrix (MAS), Warpgate, OneCLI, Paperless in Nix; Forgejo and FreeScout by hand in their admin UIs. Authelia needs the three clients that only ever existed in Keycloak (onecli, warpgate, paperless), a `paperless` authorization policy, and FreeScout's regenerated callback `/oauth-login/callback/ljux42f7k`. Keycloak stays running as the rollback path; its removal is a follow-up.
Author
Owner

Fix is pushed on branch fix/freescout-oidc-callback (ea21168c): the freescout client's redirect URI updated in both cloonar-realm.json (Keycloak, live) and authelia.nix (ready for a later switch back). Dry-build of web-arm passed. This run cannot open PRs (labctl pr create route not registered, no claimed issue), so open it from: https://git.cloonar.com/Cloonar/nixos/compare/main...fix/freescout-oidc-callback

Fix is pushed on branch `fix/freescout-oidc-callback` (ea21168c): the `freescout` client's redirect URI updated in both `cloonar-realm.json` (Keycloak, live) and `authelia.nix` (ready for a later switch back). Dry-build of web-arm passed. This run cannot open PRs (`labctl pr create` route not registered, no claimed issue), so open it from: https://git.cloonar.com/Cloonar/nixos/compare/main...fix/freescout-oidc-callback
dominik.polakovics changed title from FreeScout OIDC callback regenerated: register /oauth-login/callback/ljux42f7k on both IdPs to Move every OIDC client from Keycloak back to Authelia 2026-10-10 12:56:50 +02:00
Author
Owner

Branch feat/oidc-back-to-authelia (cde71e41) is pushed with the full switch; fix/freescout-oidc-callback is superseded and deleted. This run cannot open PRs (labctl pr create route not registered), so open it from https://git.cloonar.com/Cloonar/nixos/compare/main...feat/oidc-back-to-authelia with Closes #452. Three new client secrets must land in hosts/web-arm/secrets.sops.yaml and hosts/fw/secrets.sops.yaml before deploy; values are in the session transcript, not here.

Branch `feat/oidc-back-to-authelia` (cde71e41) is pushed with the full switch; `fix/freescout-oidc-callback` is superseded and deleted. This run cannot open PRs (`labctl pr create` route not registered), so open it from https://git.cloonar.com/Cloonar/nixos/compare/main...feat/oidc-back-to-authelia with `Closes #452`. Three new client secrets must land in `hosts/web-arm/secrets.sops.yaml` and `hosts/fw/secrets.sops.yaml` before deploy; values are in the session transcript, not here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Cloonar/nixos#452
No description provided.