Skip to content

Commit

Permalink
BSR
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Nov 17, 2023
1 parent 50c6366 commit 1ecfdb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/src/main/java/access/api/ManageController.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public ResponseEntity<Map<String, List<Map<String, Object>>>> applications(@Para
EntityType.valueOf(entry.getKey()),
entry.getValue().stream().map(s -> s[1]).collect(Collectors.toList())))
.flatMap(Collection::stream)
.collect(Collectors.toList());
.toList();
List<Map<String, Object>> provisionings = manage.provisioning(manageIdentifiers.stream().map(s -> s[1]).toList());
return ResponseEntity.ok(Map.of(
"providers", providers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public OidcUser loadUser(OidcUserRequest userRequest) throws OAuth2Authenticatio
List<Map<String, Object>> applications = manage.providersByInstitutionalGUID(organizationGuid);
newClaims.put(APPLICATIONS, applications);
Optional<Map<String, Object>> identityProvider = manage.identityProviderByInstitutionalGUID(organizationGuid);
newClaims.put(INSTITUTION, identityProvider.orElse(null));;
newClaims.put(INSTITUTION, identityProvider.orElse(null));
}
OidcUserInfo oidcUserInfo = new OidcUserInfo(newClaims);
oidcUser = new DefaultOidcUser(oidcUser.getAuthorities(), oidcUser.getIdToken(), oidcUserInfo);
Expand Down

0 comments on commit 1ecfdb2

Please sign in to comment.