Skip to content

Commit

Permalink
Merge pull request #2667 from wso2-extensions/revert-2649-fix-21627
Browse files Browse the repository at this point in the history
Revert "Fix DCR PUT request not updating application role audience"
  • Loading branch information
JeethJJ authored Jan 8, 2025
2 parents 89c8817 + fad2923 commit 43298dc
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 43298dc

Please sign in to comment.