feat: Add multi-tenant support (per-tenant JWT secrets) #13

Merged
dannygroenewegen merged 1 commits from add-tenant-support into main 2026-11-17 15:20:11 +00:00
Owner

Adds multi-tenant support, so a single euro-office deployment can give each Nextcloud instance its own JWT secret instead.


Adds multi-tenant support, so a single euro-office deployment can give each Nextcloud instance its own JWT secret instead. * [x] I have deployed and tested my changes * [x] I have [updated relevant versions in `abra.sh`](https://docs.coopcloud.tech/maintainers/upgrade/#updating-versions-in-the-abrash) * [x] I have made my environment variable changes [backwards compatible](https://docs.coopcloud.tech/maintainers/upgrade/#backwards-compatible-environment-variable-changes) * [x] I have added a [release note entry](https://docs.coopcloud.tech/maintainers/upgrade/#creating-new-release-notes) ---
CODEOWNERS rules requested review from euro-office-maintainers 2026-11-16 13:48:46 +00:00
ineiti approved these changes 2026-11-16 17:11:01 +00:00
ineiti left a comment
Owner

Didn't test it, but looks good.

Didn't test it, but looks good.
.env.sample Outdated
@@ -7,2 +7,4 @@
SECRET_JWT_VERSION=v1 # length=32
SECRET_DB_PASSWORD_VERSION=v1
# Multi-tenant mode: per-tenant JWT secrets.
Owner

Nitpick - I looked at https://git.coopcloud.tech/coop-cloud/nextcloud/src/branch/main/.env.sample, and it's all over the place whether to use ##, #, a space or not after the hash.

## Multi-tenant mode: per-tenant JWT secrets.
Nitpick - I looked at https://git.coopcloud.tech/coop-cloud/nextcloud/src/branch/main/.env.sample, and it's all over the place whether to use `##`, `#`, a space or not after the hash. ``` ## Multi-tenant mode: per-tenant JWT secrets. ```
dannygroenewegen marked this conversation as resolved
dannygroenewegen added 1 commit 2026-11-17 15:19:41 +00:00
dannygroenewegen force-pushed add-tenant-support from 040ebec537 to ac8f9d86f5 2026-11-17 15:19:42 +00:00 Compare
CODEOWNERS rules requested review from euro-office-maintainers 2026-11-17 15:19:42 +00:00
dannygroenewegen merged commit ac8f9d86f5 into main 2026-11-17 15:20:11 +00:00
dannygroenewegen deleted branch add-tenant-support 2026-11-17 15:20:11 +00:00
Sign in to join this conversation.