Skip to content

Commit 1659da1

Browse files
authored
fix(jans-config-api): config-api compilation failed in main #2030 (#2031)
docs: no docs
1 parent ee200a7 commit 1659da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jans-config-api/server/src/main/java/io/jans/configapi/service/auth/ScopeService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ private CustomScope setClients(Scope scope, List<Client> clients, List<UmaResour
202202
customScope.getClients().add(client);
203203
}
204204
} else if (scope.getScopeType() == ScopeType.SPONTANEOUS) {
205-
if (client.getClientId().equals(customScope.getAttributes().getSpontaneousClientId())) {
205+
if (client.getClientId().equals(customScope.getCreatorId())) {
206206
customScope.getClients().add(client);
207207
}
208208
}

0 commit comments

Comments
 (0)