Commit Graph
114 Commits
Author SHA1 Message Date
18b2df94f3 feat: add ownCloud branding background to login screens (#12406)
* feat: add ownCloud branding background to login screens

Ships the ownCloud branding image as the default IDP login background and
aligns the web and Keycloak login screens to match.

Reworked for the no-npm IDP (services/idp/src was removed by #12086): the
branding is applied directly in the committed bundle. The default background
image lives at services/idp/assets/identifier/static/media and is referenced
from theme.css, which now anchors it to the top right (background-position) so
the ownCloud logo stays fully visible at every viewport aspect ratio instead
of being cropped by center positioning. Operators can still override the image
via IDP_LOGIN_BACKGROUND_URL (unchanged on master).

Also embeds the same image in the web service theme assets and adds an
"owncloud" Keycloak login theme (already anchored top right) to the
ocis_keycloak deployment example.

Signed-off-by: David Walter <david.walter@kiteworks.com>
Signed-off-by: Lukas Hirt <info@hirt.cz>

* docs(deployment): title-case ocis_keycloak README headings

Co-authored-by: Martin <github@diemattels.at>
Signed-off-by: Lukas Hirt <info@hirt.cz>

---------

Signed-off-by: David Walter <david.walter@kiteworks.com>
Signed-off-by: Lukas Hirt <info@hirt.cz>
Co-authored-by: kobergj <jkoberg@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
2026-08-26 09:41:11 +02:00
Lukas Hirt e21e19470b feat(app-store): update app store repository to use ownCloud Marketplace (#12793)
Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-08-13 21:46:59 +02:00
Matteo 332299ded9 fix(deployments): prevent PostgreSQL restart loop by fixing volume mount path (#12359)
Mount the named volume at /var/lib/postgresql instead of /var/lib/postgresql/data
to avoid initdb failures caused by lost+found directory on ext4 storage backends.
2026-06-01 10:31:44 +02:00
Paul FaureandClaude Opus 4.6 d4367fb224 fix(proxy): update tests and example configs for font-src data: CSP change
Update acceptance tests and all deployment example CSP configs to include
'data:' in font-src, consistent with the default csp.yaml change.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 22:22:17 -04:00
Julian Koberg 824a71dbe2 feat: clean up mfa middleware
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-09-17 15:56:04 +02:00
Julian Koberg eeeeba199b feat: move mfa checks to handlers
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-09-17 12:42:28 +02:00
Julian Koberg 5052c65526 feat: use middleware for mfa checks
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-09-17 12:42:28 +02:00
Roman Perekhod d9bf69014f feat: [OCISDEV-278] X-XSS-Protection header removed 2025-09-02 18:02:53 +02:00
Juan Pablo Villafáñez 387ea2ea1f feat: add step up auth flow in keycloak example 2025-08-08 15:02:35 +02:00
Juan Pablo Villafañez 2f0842e9b3 Merge pull request #11500 from owncloud/deployments_telemetry_updates
chore: telemetry updates for the deployments
2025-07-16 13:26:29 +02:00
Juan Pablo Villafáñez f49e5c5c64 chore: telemetry updates for the deployments
Keycloak example will be updated to 26.2.5, which contains support for
telemetry. The committed setup changes are required for the Keycloak
update.

Due to the Keycloak update to 26.2.5, jaeger will also need to be
updated. It isn't part of the deployment, but the expected docker image
is jaegertracing/jaeger:2.7.0 (which is supported by Keycloak 26.2.5).

The jaeger update also brings changes in oCIS. Previous 6831 port in
jaeger isn't available in recent versions (particularly 2.7.0), and has
changed to port 4317, which supports the "otlp" tracing type in oCIS. No
code change is needed.
2025-07-03 15:00:23 +02:00
Roman Perekhod dc6eb130ea backport: Fix debug docker for collabora and onlyoffice in example full deployment 2025-07-03 13:04:14 +02:00
Juan Pablo Villafáñez 6ba000c71c feat: container signals will reach ocis 2025-06-06 14:21:13 +02:00
Benedikt Kulmann a94e08d875 feat: allow blob as connect-src 2024-09-09 06:46:14 +02:00
Jannik Stehle 38d7933409 feat: enable app-store web app per default 2024-08-16 15:56:28 +02:00
Michael Barz 0bcad8b5e1 ci: bring up the new continous deployments 2024-06-28 15:01:05 +02:00
Ralf Haferkamp 936d12f6ac keycloak deployment: Add demo groups
Update the keycloak example to include the demo groups. Also add a new
client scope "groups" and enable for all owncloud clients.

Related issue: #5538
2024-06-19 15:18:24 +02:00
Ralf Haferkamp 025a66faf4 keycloak deployment: Bump keycloak to 25.0.0
Also regenerated realm export and client config using the new release.
2024-06-19 15:18:24 +02:00
Ralf Haferkamp 8d30a8f516 keycloak deployment: Prettify client configs
This is just a reformatting commit. It should allows us to get
reasonable diffs, when re-exporting configs from newer keycloak
releases.
2024-06-19 15:18:24 +02:00
Thomas Müller 03bd1d5272 fix: CSP frame-src to enable PDF viewing (#9313) 2024-06-04 14:29:21 +02:00
Thomas Müller 4f7480d322 feat: drop github.com/a8m/envsubst in favor of gookit/config (#9028) 2024-04-30 18:05:58 +02:00
Sawjan Gurung 9035b832c0 fix ocis_keycloak deployment (#9025) 2024-04-30 17:40:18 +05:45
Roman Perekhod 5a7c2c3568 bumps keycloak version 2024-03-19 08:06:39 +01:00
Michael Barz ca6d87103e feat: use global variables for password policy 2023-12-06 14:30:54 +01:00
Michael Stingl 7af9cd9e53 Add example config for 3rd party WebDAV client Cyberduck 2023-12-01 11:10:28 +01:00
Roman Perekhod 5c549469f8 add banned password list to the default deployments 2023-11-22 15:30:17 +01:00
Ralf Haferkamp 48306cbef3 deployment: Disable username validation for keycloak example
Set 'GRAPH_USERNAME_MATCH' to 'none'. To accept any username that is
also valid for keycloak.
2023-09-05 16:51:01 +02:00
Dennis Sieben de5dfef15d - disabled revokeRefreshToken in Keycloak config 2023-08-09 16:27:59 +02:00
Willy Kloucek 0f3dddafab remove references to oc.ios://ios.owncloud.com since it is no longer used 2023-06-05 13:57:05 +02:00
Ralf Haferkamp 94d9dd80eb ocis_keycloak: Don't start builtin IDP when using keycloak 2023-05-24 17:12:38 +02:00
Ralf Haferkamp 47f5245f55 ocis_keycloak: Fix deployment example
After commit 52951b42b0 we need to set PROXY_USER_CS3_CLAIM and
PROXY_USER_OIDC_CLAIM for the keycloak example to still work.

Also update release notes to mentions the changed default.
2023-05-24 17:12:38 +02:00
Ralf Haferkamp 3baeee3b73 ocis_keycloak: Enable backchannel logout for "web" client
This enables backchannel logout for the "web" client.

Also this bumps keycloak to 21.1
2023-04-24 16:02:52 +02:00
Michael Barz 8d76b15e6e add roles to scope 2023-04-04 22:41:47 +02:00
Ralf Haferkamp 087e768f35 ocis_keycloak: Move to role assignment via oidc claim (#5882)
Use the new PROXY_ROLE_ASSIGNMENT_DRIVER "oidc". This also means we can
now run with OCIS_ADMIN_USER_ID being empty. So that no admin user will
be created on startup and no default role assignment will happen.

By setting GRAPH_ASSIGN_DEFAULT_USER_ROLE to "false", we make sure to
not create the default "user" role assignment when auto provisioning a
user.
2023-03-20 21:04:37 +01:00
Ralf Haferkamp b57504696b ocis_keycloak: Add ocis roles as realm roles (#5750)
* ocis_keycloak: Add ocis roles as realm roles

This adds the roles ocisAdmin, ocisSpaceAdmin, ocisUser and ocisGuest as realm roles
to the the oCIS realm. It also assigns those roles to the demo users.

Additionally the missing demo user "Katherine Johnson" is added with the role of
"ocisSpaceAdmin".

* Expose realm_roles in "roles" claim of id tokens and userinfo
2023-03-08 12:11:21 +01:00
Willy Kloucek 33ce53d436 fix account console in keycloak deployment example 2023-02-15 09:18:04 +01:00
Willy Kloucek 1029775635 enable bruteforce protection 2023-02-08 17:26:32 +01:00
Willy Kloucek 700f00fb27 disable refresh token reuse 2023-02-08 17:24:28 +01:00
Willy Kloucek 6dd55b56bf use export from up-to-date keycloak 2023-02-08 17:22:08 +01:00
Willy Kloucek f1625148d1 format keycloak realm 2023-02-08 12:00:58 +01:00
Ralf Haferkamp fdb42af20b Switch to non-legacy keycloak images
This switches the keycloak service to the more recent quarkus based images. Away
from the legacy wildfly based image.
2023-01-31 09:17:29 +01:00
Ralf Haferkamp 237d566662 Simplify running with podman
Allow to adjust the docker socket path used by traefik and the logging driver
so that this example can be more easily used with podman based setups.

With a running podman service ("podman system service --time 0"), this should
basically work:

export DOCKER_SOCKET_PATH="/run/user/1000/podman/podman.sock"
export LOG_DRIVER=journald
docker-compose -H unix:///run/user/1000/podman/podman.sock up
2023-01-31 09:17:29 +01:00
Willy Kloucek 4ce815453f update and simplify monitoring settings 2022-11-29 09:12:36 +01:00
Willy Kloucek 693857e6b3 improve debugability of deployment examples 2022-11-16 16:56:59 +01:00
Willy Kloucek e69d2e9a06 update deployment examples, especially the wopi example 2022-10-07 09:50:06 +02:00
Ralf Haferkamp 5d121b4bad Do not start auth-bearer service by default
The auth-bearer service is currently not needed by ocis. Reva tookens
for oidc authenticated clients are currently minted via the auth-machine
service.  This commit does not completely remove the service as we shoud
consider to rework the proxy's oidc middleware to use the auth-bearer
service in the future (see #4701)

Fixes: #4692
2022-09-28 12:11:06 +02:00
Willy Kloucek 205f87f987 adapt deployment examples 2022-08-05 14:12:08 +02:00
Willy Kloucek b0b7927e6c add ocis config volume to keycloak deployment example 2022-06-28 09:47:17 +02:00
Willy Kloucek 1ace433e60 remove secrets configuration and demo users from keycloak deployment example 2022-06-21 13:07:22 +02:00
David Christofas 287dc62fcf disable color logging in deployment examples 2022-06-09 10:34:32 +02:00