[KEYCLOAK-7763] - NPE when enabling authorization to security-admin-console
This commit is contained in:
parent
d55ccf5312
commit
dafd567e68
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ public class AdminConsole {
|
||||||
if (consoleApp == null) {
|
if (consoleApp == null) {
|
||||||
throw new NotFoundException("Could not find admin console client");
|
throw new NotFoundException("Could not find admin console client");
|
||||||
}
|
}
|
||||||
return new ClientManager().toInstallationRepresentation(realm, consoleApp, keycloak.getBaseUri(uriInfo));
|
return new ClientManager(new RealmManager(session)).toInstallationRepresentation(realm, consoleApp, keycloak.getBaseUri(uriInfo));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue