keycloakify 11.9.5 → 11.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -130,6 +130,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
130
130
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/kodebach"><img src="https://avatars.githubusercontent.com/u/23529132?v=4?s=100" width="100px;" alt="Klemens Böswirth"/><br /><sub><b>Klemens Böswirth</b></sub></a><br /><a href="https://github.com/keycloakify/keycloakify/commits?author=kodebach" title="Code">💻</a></td>
131
131
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/wnmzzzz"><img src="https://avatars.githubusercontent.com/u/117174301?v=4?s=100" width="100px;" alt="wnmzzzz"/><br /><sub><b>wnmzzzz</b></sub></a><br /><a href="https://github.com/keycloakify/keycloakify/commits?author=wnmzzzz" title="Tests">⚠️</a></td>
132
132
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/DerIch27"><img src="https://avatars.githubusercontent.com/u/62176944?v=4?s=100" width="100px;" alt="Lars Gottfriedsen"/><br /><sub><b>Lars Gottfriedsen</b></sub></a><br /><a href="https://github.com/keycloakify/keycloakify/commits?author=DerIch27" title="Code">💻</a></td>
133
+ <td align="center" valign="top" width="14.28%"><a href="http://www.linkedin.com/in/antonioacg/"><img src="https://avatars.githubusercontent.com/u/8991621?v=4?s=100" width="100px;" alt="Antonio Casagrande"/><br /><sub><b>Antonio Casagrande</b></sub></a><br /><a href="https://github.com/keycloakify/keycloakify/commits?author=antonioacg" title="Code">💻</a></td>
133
134
  </tr>
134
135
  </tbody>
135
136
  </table>
package/bin/375.index.js CHANGED
@@ -1872,7 +1872,9 @@ async function command(params) {
1872
1872
  ...(keycloakMajorVersionNumber <= 20
1873
1873
  ? [`-e${SPACE_PLACEHOLDER}JAVA_OPTS=-Dkeycloak.profile=preview`]
1874
1874
  : []),
1875
- `-e${SPACE_PLACEHOLDER}KC_HOSTNAME_STRICT_HTTPS=false`,
1875
+ ...(keycloakMajorVersionNumber < 25
1876
+ ? [`-e${SPACE_PLACEHOLDER}KC_HOSTNAME_STRICT_HTTPS=false`]
1877
+ : []),
1876
1878
  ...[
1877
1879
  ...buildContext.themeNames,
1878
1880
  ...(external_fs_.existsSync((0,external_path_.join)(buildContext.keycloakifyBuildDirPath, "theme", "account-v1"))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.9.5",
3
+ "version": "11.9.7",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -199,6 +199,20 @@ function decodeHtmlEntities(htmlStr){
199
199
  xKeycloakify.pageId == "error.ftl" &&
200
200
  areSamePath(path, ["realm"]) &&
201
201
  !["name", "displayName", "displayNameHtml", "internationalizationEnabled", "registrationEmailAsUsername" ]?seq_contains(key)
202
+ ) || (
203
+ <#-- Fix for StackOverflowError on terms.ftl with incomplete user profiles (e.g., X/Twitter IdP) -->
204
+ <#-- These properties create circular references: realm->masterAdminClient->realm, etc. -->
205
+ <#-- See: https://github.com/keycloakify/keycloakify/issues/658 -->
206
+ xKeycloakify.pageId == "terms.ftl" && (
207
+ key == "masterAdminClient" ||
208
+ key == "delegateForUpdate" ||
209
+ key == "keycloakSession" ||
210
+ key == "entity" ||
211
+ key == "realmModel" ||
212
+ key == "userModel" ||
213
+ (key == "defaultRole" && path?size > 2) ||
214
+ (key == "container" && path?size > 2)
215
+ )
202
216
  ) || (
203
217
  xKeycloakify.pageId == "applications.ftl" &&
204
218
  (
@@ -558,7 +558,9 @@ export async function command(params: {
558
558
  ...(keycloakMajorVersionNumber <= 20
559
559
  ? [`-e${SPACE_PLACEHOLDER}JAVA_OPTS=-Dkeycloak.profile=preview`]
560
560
  : []),
561
- `-e${SPACE_PLACEHOLDER}KC_HOSTNAME_STRICT_HTTPS=false`,
561
+ ...(keycloakMajorVersionNumber < 25
562
+ ? [`-e${SPACE_PLACEHOLDER}KC_HOSTNAME_STRICT_HTTPS=false`]
563
+ : []),
562
564
  ...[
563
565
  ...buildContext.themeNames,
564
566
  ...(fs.existsSync(