Skip to content
Discussion options

You must be logged in to vote

@omar-zahid This extension only exists to facilitate running Keycloak Admin Client in native mode, you just need to initialize Keycloak the way you'd usually do according to the docs/examples in the Keycloak repository (I'm not sure I can see some obvious references though), here is how it is done in Quarkus test:

KeycloakBuilder.builder()
                .serverUrl(KEYCLOAK_SERVER_URL)
                .realm("master")
                .clientId("admin-cli")
                .username("admin")
                .password("admin")
                .build();

So the injection does not work. However, now that you've typed this code, I wonder if we can enhance this extension a bit and support this…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@omar-zahid
Comment options

@sberyozkin
Comment options

Answer selected by omar-zahid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants