diff --git a/openid-connect-server/src/main/webapp/resources/template/scope.html b/openid-connect-server/src/main/webapp/resources/template/scope.html index c97d9959a..39f94b5e4 100644 --- a/openid-connect-server/src/main/webapp/resources/template/scope.html +++ b/openid-connect-server/src/main/webapp/resources/template/scope.html @@ -156,10 +156,10 @@ <% _.each(scopes, function(s) { -%> - -<% var ss = systemScopes.getByValue(s); +%> + +<% if (ss && ss.get('icon')) { %>