Skip to content

Commit

Permalink
Add missing properties
Browse files Browse the repository at this point in the history
  • Loading branch information
chamilaadhi committed Mar 1, 2024
1 parent 99c4044 commit d9e3088
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ private OAuthApplicationInfo createApplication(String applicationName, OAuthAppR

if (setUserStoreDomainInSubject) {
LocalAndOutboundAuthenticationConfig localAndOutboundConfig = new LocalAndOutboundAuthenticationConfig();
localAndOutboundConfig.setSkipConsent(true); // to prevent overriding
localAndOutboundConfig.setSkipLogoutConsent(true); // to prevent overriding
localAndOutboundConfig.setUseUserstoreDomainInLocalSubjectIdentifier(true);

Check warning on line 334 in components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationServiceImpl.java

View check run for this annotation

Codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationServiceImpl.java#L331-L334

Added lines #L331 - L334 were not covered by tests
serviceProvider.setLocalAndOutBoundAuthenticationConfig(localAndOutboundConfig);
}
Expand Down

0 comments on commit d9e3088

Please sign in to comment.