Fix scope issue with code grant type

This commit is contained in:
tcdlpds 2024-02-20 15:38:10 +05:30
parent b6c4cb66f5
commit fdf5c62204

View File

@ -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 {