Comments (5)
After digging a bit deeper into this issue. It seems that the command /subsystem=undertow/server=default-server/host=default-host/location=\/:remove
disables only the /opt/jboss/keycloak/welcome-content
page, which contains only a redirect to the /auth
path.
The "Welcome to Keycloak" page cannot be disabled but it can be themed. The default theme is located in /opt/jboss/keycloak/themes/keycloak/welcome
. It can be set by setting the environment variable KEYCLOAK_WELCOME_THEME
or by setting the following XML in the keycloak-server
subsystem in the /opt/jboss/keycloak/standalone/configuration/standalone.xml
file:
<theme>
...
<welcomeTheme>${env.KEYCLOAK_WELCOME_THEME:keycloak}</welcomeTheme>
...
</theme>
from helm-charts.
https://developer.jboss.org/thread/242941
from helm-charts.
You can do this with a custom CLI script using keycloak.cli.custom
.
from helm-charts.
@unguiculus Thanks for this hint 👍
I've created a custom.cli
file which I deploy with a custom keycloak docker image.
/subsystem=undertow/server=default-server/host=default-host/location=\/:remove
The file is located in /opt/jboss/tools/cli/custom.cli. But if I add this script, keycloak will not start anymore.
08:55:17,571 INFO [org.jboss.modules] (CLI command executor) JBoss Modules version 1.9.0.Final
08:55:17,650 INFO [org.jboss.msc] (CLI command executor) JBoss MSC version 1.4.5.Final
08:55:17,701 INFO [org.jboss.threads] (CLI command executor) JBoss Threads version 2.3.3.Final
08:55:17,867 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: Keycloak 6.0.1 (WildFly Core 8.0.0.Final) starting
08:55:17,952 INFO [org.jboss.vfs] (MSC service thread 1-1) VFS000002: Failed to clean existing content for temp file provider of type temp. Enable DEBUG level log to find what caused this
08:55:18,747 INFO [org.wildfly.security] (ServerService Thread Pool -- 8) ELY00001: WildFly Elytron version 1.8.0.Final
08:55:19,429 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
08:55:19,537 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
08:55:19,680 INFO [org.jboss.as.patching] (MSC service thread 1-2) WFLYPAT0050: Keycloak cumulative patch ID is: base, one-off patches include: none
08:55:19,689 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-2) WFLYDM0111: Keystore /opt/jboss/keycloak/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
08:55:19,796 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
08:55:19,803 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: Keycloak 6.0.1 (WildFly Core 8.0.0.Final) started in 2218ms - Started 64 of 78 services (25 services are lazy, passive or on-demand)
Node path format is wrong around 'opt' (index=1).
08:55:19,944 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: Keycloak 6.0.1 (WildFly Core 8.0.0.Final) stopped in 18ms
I think the main error is Node path format is wrong around 'opt' (index=1).
. But opt
doesn't exists in my script. Does anyone has an idea what's wrong with my script?
from helm-charts.
Sorry, my fault! The keycloak.cli.custom
property needs the commands directly passed instead of a file.
keycloak:
cli:
custom: |
/subsystem=undertow/server=default-server/host=default-host/location=\/:remove
Anyway, this doesn't disable the welcome page.
from helm-charts.
Related Issues (20)
- Is this repo still being maintained? HOT 2
- Support extraVolumeMounts and extraVolumes for deployment in templates HOT 2
- SHA1 support has been removed from JDK 9 onwards. Need to have option to support SHA1 algorithm. HOT 2
- Defaults for container memory limit HOT 1
- PVCs for postgres HOT 1
- Upgrading from 24.0.3 with the keycloakx helm chart to 25.0.0 fails HOT 15
- Running helm package fails HOT 1
- proxy definition is deprecated after updating image to 24.0.3. The proxy-headers should be used instead. HOT 1
- Release of keycloakx version 25 HOT 1
- Updating Image to 25.0.X results in CrashLoop using KeycloakX Chart HOT 7
- Keycloak.X version: 2.4.1 admin console somethingWentWrong HOT 4
- Keycloak 25.0.0 Helm Chart deployment -> CrashLoop HOT 7
- Regrouping issue about the last helm keycloakx chart release
- Metrics Endpoint appears to be broken in Keycloakx 2.4.2 Chart
- Keycloakx 25.0.1 crashloop without any message HOT 1
- KeycloakX 2.4.3 - ServiceMonitor template is broken
- Reverse Proxy behind the keycloak.
- Keycloak 25.0.0 codecentric helm charts - Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure resource '<URL>'. HOT 2
- keycloakx Mariadb Support
- Keycloak-x: How to block console (/auth) access on default ingress? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-charts.