-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keycloak statup option --hostname-port is deprecated and disabled by default since keycloak 25.0.0 #42509
Comments
/cc @pedroigor (keycloak), @sberyozkin (keycloak) |
Might actually not be relevant for you as we use our own image... If you already enabled |
Workaround that works for me: quarkus.keycloak.devservices.show-logs=true
quarkus.keycloak.devservices.start-command=start --http-enabled=true --hostname-strict=false --features=hostname:v1 Logs:
|
It seems like integration tests for Keycloak DevServices are missing. |
@andrejpetras We do have them, but not for the shared network case, we actually used to have them but they got accidentally dropped during some restructuring. I think we can hopefully fix this issue by reintroducing them |
Any news about this? With keycloak 26, the hostname:v1 got removed and is therefore not an option as workaround anymore |
Seems to be resolved by past changes |
@sberyozkin Now with keycloak 26 |
I intended to try if it works when the port gets set directly with the hostname, which should be valid
But my system won't let me 🤦♂️ I need to try after the weekend. |
@sberyozkin seems like I am currently having issue coming from by #45496 |
Wrong button :) |
Thanks @HerrDerb for looking into this issue, and hopefully the linked one will be resolved soon for you to be able to continue |
@sberyozkin I did come myself as far as #45793 (comment) getting the |
Since keycloak 25.0.0. hostname:v1 is disabled by default. Therefor the dev service will fail to start if
useSharedNetwork
evaluates totrue
https://github.com/quarkusio/quarkus/blob/main/extensions/oidc/deployment/src/main/java/io/quarkus/oidc/deployment/devservices/keycloak/KeycloakDevServicesProcessor.java#L517
The text was updated successfully, but these errors were encountered: