Update default realm configs

This commit is contained in:
Joseph Garrone
2024-12-15 19:45:05 +01:00
parent 3938584aeb
commit 10cfa1cf41
10 changed files with 429 additions and 285 deletions

View File

@ -253,13 +253,22 @@ export async function command(params: {
assert(jarFilePath !== undefined);
const extensionJarFilePaths = [
pathJoin(
getThisCodebaseRootDirPath(),
"src",
"bin",
"start-keycloak",
KEYCLOAKIFY_LOGIN_JAR_BASENAME
),
...(keycloakMajorVersionNumber <= 20
? (console.log(
chalk.yellow(
"WARNING: With older version of keycloak your changes to the realm configuration are not persisted"
)
),
[])
: [
pathJoin(
getThisCodebaseRootDirPath(),
"src",
"bin",
"start-keycloak",
KEYCLOAKIFY_LOGIN_JAR_BASENAME
)
]),
...(await Promise.all(
buildContext.startKeycloakOptions.extensionJars.map(async extensionJar => {
switch (extensionJar.type) {