Fix scope issue with code grant type

apim420
tcdlpds 10 months ago
parent b6c4cb66f5
commit fdf5c62204

@ -533,7 +533,7 @@ public class HandlerUtil {
if (scopes != null && scopes.isArray() && !scopes.isEmpty()) { if (scopes != null && scopes.isArray() && !scopes.isEmpty()) {
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();
for (JsonNode objNode : scopes) { for (JsonNode objNode : scopes) {
builder.append(objNode).append(" "); builder.append(objNode.asText()).append(" ");
} }
return builder.toString(); return builder.toString();
} else { } else {

Loading…
Cancel
Save