Rauthy som valg ved siden av Kanidm (innlogging på norsk) #4

Merged
bl merged 1 commits from rauthy into main 2026-11-08 11:59:10 +01:00
Owner

Draft, not for merging before the vel has decided. Merged as it stands, nothing changes: every new value is empty, and empty means unset in portal, the chat and compose.

What it adds

  • rauthy service under the compose profile of the same name (ghcr.io/sebadob/rauthy:0.37.2, embedded database in rauthy_data, 127.0.0.1:8090).
  • rauthy/config.toml with no secrets: mail through kasse's postfix as post@tomtervel.no, nb and en in the language menu, behind Caddy with 172.16.0.0/12 trusted like Kanidm.
  • deploy.yml writes rauthy.env (encryption key, cluster secrets, first admin = SEED_ADMIN_EMAIL) only when RAUTHY_ENC_KEY is set, and passes OIDC_ISSUER/RAUTHY_* to portal and the chat.
  • deploy-tomtervel installs rauthy.env if it's there. It must be reinstalled on kasse after merge.
  • konto.tomtervel.no in DNS and in kasse's Caddy file.
  • README: "Rauthy", step by step, and the table.

Tried locally (podman): the config starts with the secrets as environment variables and a named volume; the issuer is https://<host>/auth/v1/; a Norwegian browser gets nb-NO. Rauthy shuts down if it can't reach SMTP, which kasse has. Portal against Rauthy end to end: see uhhm/portal#72.

Depends on: uhhm/portal#72 and uhhm/cnats#6 released.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM

Draft, not for merging before the vel has decided. Merged as it stands, nothing changes: every new value is empty, and empty means unset in portal, the chat and compose. **What it adds** - `rauthy` service under the compose profile of the same name (ghcr.io/sebadob/rauthy:0.37.2, embedded database in `rauthy_data`, 127.0.0.1:8090). - `rauthy/config.toml` with no secrets: mail through kasse's postfix as `post@tomtervel.no`, `nb` and `en` in the language menu, behind Caddy with `172.16.0.0/12` trusted like Kanidm. - deploy.yml writes `rauthy.env` (encryption key, cluster secrets, first admin = `SEED_ADMIN_EMAIL`) only when `RAUTHY_ENC_KEY` is set, and passes `OIDC_ISSUER`/`RAUTHY_*` to portal and the chat. - `deploy-tomtervel` installs `rauthy.env` if it's there. **It must be reinstalled on kasse** after merge. - `konto.tomtervel.no` in DNS and in kasse's Caddy file. - README: "Rauthy", step by step, and the table. **Tried locally (podman):** the config starts with the secrets as environment variables and a named volume; the issuer is `https://<host>/auth/v1/`; a Norwegian browser gets `nb-NO`. Rauthy shuts down if it can't reach SMTP, which kasse has. Portal against Rauthy end to end: see uhhm/portal#72. **Depends on:** uhhm/portal#72 and uhhm/cnats#6 released. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
bl added 1 commit 2026-11-07 22:34:03 +01:00
A rauthy service under the profile of the same name, its config here
without secrets, and rauthy.env written by the deploy from Actions
secrets. OIDC_ISSUER moves portal's and the chat's sign-in to it,
RAUTHY_API_KEY lets portal make accounts there. konto.tomtervel.no in
DNS and kasse's Caddy, beside id. Nothing runs until RAUTHY_HOST, the
three secrets and the profile are set.

Tried locally: the config starts, the issuer is https://<host>/auth/v1/,
and a Norwegian browser gets the pages in nb.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
bl marked the pull request as ready for review 2026-11-08 11:59:09 +01:00
bl merged commit 572e6dc2ea into main 2026-11-08 11:59:10 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tomtervel/infrastructure#4