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

Incorrect keycloak realm used in dev mode for keycloak client #1757

Closed
johnaohara opened this issue Jun 1, 2024 · 1 comment
Closed

Incorrect keycloak realm used in dev mode for keycloak client #1757

johnaohara opened this issue Jun 1, 2024 · 1 comment
Labels
area/backend area/developer Developer mode branch/master The master branch branch/stable The stable branch type/bug Something isn't working

Comments

@johnaohara
Copy link
Member

johnaohara commented Jun 1, 2024

Describe the bug

In dev mode, using horreum.roles.provider=keycloak, KeycloakUserBackend is using the incorrect realm to retrieve users/roles.

The KeycloakUserBackend is using quarkus.keycloak.admin-client.realm ;

@ConfigProperty(name = "quarkus.keycloak.admin-client.realm", defaultValue = "horreum") String realm;

in dev mode this is set to the master realm;

%dev.quarkus.keycloak.admin-client.realm=master

@johnaohara johnaohara added type/bug Something isn't working branch/master The master branch branch/stable The stable branch area/developer Developer mode area/backend labels Jun 1, 2024
@barreiro
Copy link
Collaborator

fixed in #1708

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend area/developer Developer mode branch/master The master branch branch/stable The stable branch type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants