Keycloak devservice can be started indirectly if quarkus-oidc
uses quarkus.oidc.provider
#44938
Labels
Milestone
quarkus-oidc
uses quarkus.oidc.provider
#44938
Describe the bug
At some point, when, for example, both
quarkus-oidc
andquarkus-oidc-client
were included, and no properties likequarkus.oidc.auth-server-url
orquarkus.oidc.provider
were configured,quarkus-oidc
would have Keycloak devservice launched.Now,
quarkus-oidc-client
and other OIDC/Keycloak aware extensions can launch Keycloak devservice on its own.However, if
quarkus-oidc
has indicated that it does not want Keycloak devservice, thenquarkus-oidc-client
should not launch it. For example:here,
quarkus-rest-client-oidc-token-propagation
bringsquarkus-oidc-client
for the optional token exchange, the token propagation will be applied to REST clients which do not deal with OIDC.And we have for example
quarkus.oidc.provider=slack
- indicating no Keycloak container is needed. But Keycloak container is still launched.Expected behavior
If
quarkus-oidc
does not need it, then client extensions likequarkus-oidc-client
should not launch it either.IMHO it is very unlikely that when
quarkus-oidc
wants to work for example withSlack
, thequarkus-oidc-client
still wants to use Keycloak container.Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: