Skip to content

Commit

Permalink
Merge pull request #5677 from shashimalcse/shashimalcse-patch-20017
Browse files Browse the repository at this point in the history
Fix updating the parent console's role audience when creating a sub-org.
  • Loading branch information
shashimalcse authored May 8, 2024
2 parents f8bd509 + 1c3cb64 commit 31bf43d
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2224,10 +2224,8 @@ public ServiceProvider getApplication(int applicationId) throws IdentityApplicat
serviceProvider.setCertificateContent(getCertificateContent(propertyList, connection));

// Set role associations.
if (!CarbonConstants.ENABLE_LEGACY_AUTHZ_RUNTIME) {
serviceProvider.setAssociatedRolesConfig(
getAssociatedRoles(serviceProvider.getApplicationResourceId(), connection, tenantID));
}
serviceProvider.setAssociatedRolesConfig(
getAssociatedRoles(serviceProvider.getApplicationResourceId(), connection, tenantID));
// Will be supported with 'Advance Consent Management Feature'.
/*
ConsentConfig consentConfig = serviceProvider.getConsentConfig();
Expand Down

0 comments on commit 31bf43d

Please sign in to comment.