From 3e63bcf3998ad8fe33811d51744471a70b80c99e Mon Sep 17 00:00:00 2001 From: Julian Raufelder Date: Mon, 1 Jul 2024 11:53:29 +0200 Subject: [PATCH] Update Keycloak to 25.0.1 --- backend/src/main/resources/application.properties | 2 +- frontend/package-lock.json | 9 +++++---- frontend/package.json | 2 +- keycloak/Dockerfile | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index ac50ff00..fdd0c536 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -33,7 +33,7 @@ hub.keycloak.oidc.cryptomator-client-id=cryptomator %dev.quarkus.keycloak.devservices.start-command=start-dev %dev.quarkus.keycloak.devservices.port=8180 %dev.quarkus.keycloak.devservices.service-name=quarkus-cryptomator-hub -%dev.quarkus.keycloak.devservices.image-name=ghcr.io/cryptomator/keycloak:24.0.5 +%dev.quarkus.keycloak.devservices.image-name=ghcr.io/cryptomator/keycloak:25.0.1 %dev.quarkus.oidc.devui.grant.type=code # OIDC will be mocked during unit tests. Use fake auth url to prevent dev services to start: %test.quarkus.oidc.auth-server-url=http://localhost:43210/dev/null diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 7223bfa9..21089b4e 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -16,7 +16,7 @@ "file-saver": "^2.0.5", "jdenticon": "^3.2.0", "jszip": "^3.10.1", - "keycloak-js": "^24.0.3", + "keycloak-js": "^25.0.1", "miscreant": "^0.3.2", "rfc4648": "^1.5.3", "semver": "^7.6.0", @@ -4026,9 +4026,10 @@ } }, "node_modules/keycloak-js": { - "version": "24.0.3", - "resolved": "https://registry.npmjs.org/keycloak-js/-/keycloak-js-24.0.3.tgz", - "integrity": "sha512-4L0zTiQATKZiGQ6WM5qjjUIrN7pntzHDy4JebvgWA+im3oUDQ8UmQhIU0wnhONKrUK8pM4chyE/vDNStBNcR8w==", + "version": "25.0.1", + "resolved": "https://registry.npmjs.org/keycloak-js/-/keycloak-js-25.0.1.tgz", + "integrity": "sha512-ns5sKQ5Iz3UyVGIKq2XBBXNZTlTCg9bzybR+JB2Vn+fDHIo9EGgAY4kzrBWMwbeFuegY+qJwGs05N+W9jgY9tg==", + "license": "Apache-2.0", "dependencies": { "js-sha256": "^0.11.0", "jwt-decode": "^4.0.0" diff --git a/frontend/package.json b/frontend/package.json index c5d55a28..ea53fd60 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -62,7 +62,7 @@ "file-saver": "^2.0.5", "jdenticon": "^3.2.0", "jszip": "^3.10.1", - "keycloak-js": "^24.0.3", + "keycloak-js": "^25.0.1", "miscreant": "^0.3.2", "rfc4648": "^1.5.3", "semver": "^7.6.0", diff --git a/keycloak/Dockerfile b/keycloak/Dockerfile index 3b70acd9..3a3ce34b 100644 --- a/keycloak/Dockerfile +++ b/keycloak/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/keycloak/keycloak:24.0.5 as builder +FROM quay.io/keycloak/keycloak:25.0.1 as builder ENV KC_HEALTH_ENABLED=true ENV KC_METRICS_ENABLED=true ENV KC_HTTP_RELATIVE_PATH=/kc @@ -11,7 +11,7 @@ FROM registry.access.redhat.com/ubi9 AS ubi-micro-build RUN mkdir -p /mnt/rootfs RUN dnf install --installroot /mnt/rootfs curl --releasever 9 --setopt install_weak_deps=false --nodocs -y; dnf --installroot /mnt/rootfs clean all -FROM quay.io/keycloak/keycloak:24.0.5 +FROM quay.io/keycloak/keycloak:25.0.1 LABEL maintainer="info@skymatic.de" COPY --from=builder /opt/keycloak/ /opt/keycloak/ COPY --from=ubi-micro-build /mnt/rootfs /