Skip to content

Commit

Permalink
Revert "Fix DCR PUT request not updating application role audience"
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaminduR authored Jan 8, 2025
1 parent 89c8817 commit fad2923
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,6 @@ public Application updateApplication(ApplicationUpdateRequest updateRequest, Str
AssociatedRolesConfig associatedRolesConfig = new AssociatedRolesConfig();
associatedRolesConfig.setAllowedAudience(updateRequest.getExtAllowedAudience().toLowerCase());
sp.setAssociatedRolesConfig(associatedRolesConfig);
updateServiceProvider(sp, tenantDomain, applicationOwner);
}
} catch (IdentityOAuthClientException e) {
throw new DCRMClientException(DCRMConstants.ErrorCodes.INVALID_CLIENT_METADATA, e.getMessage(), e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,6 @@ public void updateApplicationTest(List<String> redirectUri1, String roleAudience
assertEquals(application.getClientId(), dummyConsumerKey);
assertEquals(application.getClientName(), dummyClientName);
assertEquals(application.getClientSecret(), dummyConsumerSecret);
assertEquals(application.getExtAllowedAudience(), roleAudience);
}

@Test
Expand Down

0 comments on commit fad2923

Please sign in to comment.