From b7d72687442be3c5ba0f6fcc04b1c2c9e2b13e36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ga=C5=82a?= Date: Wed, 30 Nov 2022 13:35:24 +0100 Subject: [PATCH] Initialize CryptoIntegration before loading adapter config Initialize CryptoIntegration before building KeycloakDeploymentBuilder, same way as in public static KeycloakDeployment build(InputStream is) method Closes #15767 --- .../java/org/keycloak/adapters/KeycloakDeploymentBuilder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/KeycloakDeploymentBuilder.java b/adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/KeycloakDeploymentBuilder.java index 827dda9d77..1c1290215b 100755 --- a/adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/KeycloakDeploymentBuilder.java +++ b/adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/KeycloakDeploymentBuilder.java @@ -201,6 +201,7 @@ public class KeycloakDeploymentBuilder { public static KeycloakDeployment build(AdapterConfig adapterConfig) { + CryptoIntegration.init(KeycloakDeploymentBuilder.class.getClassLoader()); return new KeycloakDeploymentBuilder().internalBuild(adapterConfig); }