KEYCLOAK-14584: Clients that have empty string as Base URL are displayed
in Account Console
This commit is contained in:
parent
5e44bb781b
commit
25e8210066
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ public class AccountRestService {
|
|||
|
||||
List<ClientRepresentation> apps = new LinkedList<ClientRepresentation>();
|
||||
for (ClientModel client : clients) {
|
||||
if (client.isBearerOnly() || client.getBaseUrl() == null) {
|
||||
if (client.isBearerOnly() || client.getBaseUrl() == null || client.getBaseUrl().isEmpty()) {
|
||||
continue;
|
||||
}
|
||||
apps.add(modelToRepresentation(client, inUseClients, offlineClients, consentModels));
|
||||
|
|
Loading…
Reference in a new issue