Skip to content
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 DevService does not start for Keycloak Admin Client #45280

Closed
sberyozkin opened this issue Dec 24, 2024 · 5 comments
Closed

Keycloak DevService does not start for Keycloak Admin Client #45280

sberyozkin opened this issue Dec 24, 2024 · 5 comments
Labels

Comments

@sberyozkin
Copy link
Member

Describe the bug

I noticed the other day when investigating a failure in the now merged Peter's PR, that if the forced quarkus-oidc-deployment is removed in the extensions/keycloak-admin-reasteasy-client/deployment tests, then Keycloak Dev Service does not start.

May be I got it wrong, sorry if it proves the case.

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@sberyozkin sberyozkin added the kind/bug Something isn't working label Dec 24, 2024
Copy link

quarkus-bot bot commented Dec 24, 2024

/cc @geoand (devservices), @pedroigor (keycloak), @stuartwdouglas (devservices)

@gsmet gsmet added kind/enhancement New feature or request and removed kind/bug Something isn't working labels Dec 26, 2024
@sberyozkin
Copy link
Member Author

@gsmet It's a bug, this is supposed to work already

@sberyozkin sberyozkin added kind/bug Something isn't working and removed kind/enhancement New feature or request labels Dec 26, 2024
@michalvavrik
Copy link
Member

It doesn't start because you have set the server URL:

And OIDC doesn't know that KC admin has some "config server URL" set. That is the backwards compatibility I have mentioned in the comments:

We can't start new Keycloak if you are already running one somewhere (because you set the URL). In the past, if you only had Keycloak Admin client and wanted to start the Keycloak, you had to include OIDC extension and configure server URL property manually. We have test that ensures when the URL is not set, we start it:

@sberyozkin I'll close it because I don't see the bug, but if I am missing something, let's open a feature request. Or re-open this bug if you feel strongly about this.

@michalvavrik michalvavrik closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2025
@sberyozkin
Copy link
Member Author

@michalvavrik Oh yeah, sorry for the noise, thanks for closing it

@michalvavrik
Copy link
Member

np

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants