Small fix
This commit is contained in:
parent
2a00fe7ec1
commit
a42e858f71
|
@ -24,9 +24,8 @@ public class MyKeycloakAdminRestApi {
|
|||
@Autowired
|
||||
public MyKeycloakAdminRestApi(KeycloakClientConfiguration configuration) {
|
||||
this.configuration = configuration;
|
||||
try (Keycloak client = this.initClient()) {
|
||||
this.realm = client.realm(configuration.getProperties().getRealm());
|
||||
}
|
||||
Keycloak client = this.initClient();
|
||||
this.realm = client.realm(configuration.getProperties().getRealm());
|
||||
logger.info("Custom Keycloak client initialized. Keycloak serving from {}", configuration.getProperties().getServerUrl().replace("/auth", "").replaceAll("https?://", ""));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue