Closed GregJohnStewart closed 9 months ago
/cc @pedroigor (keycloak), @sberyozkin (keycloak)
Thanks @GregJohnStewart, sure, I agree it can make sense to have Keycloak Admin client but also OIDC client pick up some properties set up by OIDC dev services
To be able to use the Keycloak admin-client with devservices I set the quarkus.keycloak.devservices.port
variable to a default and add it to the admin-client
property.
For instances:
%test.quarkus.keycloak.admin-client.server-url=http://localhost:${kc.admin.port.test:45180}/
%test.quarkus.keycloak.devservices.port=${kc.admin.port.test:45180}
Thanks @jacobdotcosta, let me doc it
Description
Currently, when using the
oidc
andkeycloak-admin-client
extensions, the configuration for the admin client is not provided by the Keycloak devservice, provided inoidc
.I would want the admin client's configuration (url, credentials, realm(?)) to be configured. Assuming that the
oidc
's keycloak devservice would just need to provide this additional configuration.This brings up another question though, do we want to set the admin client extension to bring in its own keycloak devservice if
oidc
is not present? I am not privy to the setup of devservices and don't know if it is possible to smartly do this.Implementation ideas
No response