From f708166c9cfbc60f746dde3d83dadca841366aba Mon Sep 17 00:00:00 2001 From: sadilchamishka Date: Thu, 26 Oct 2023 22:39:55 +0530 Subject: [PATCH] Fix System API not registering for non SaaS apps --- .../mgt/listener/AuthorizedAPIManagementListener.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/AuthorizedAPIManagementListener.java b/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/AuthorizedAPIManagementListener.java index 7465eb355a89..332efe145d26 100644 --- a/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/AuthorizedAPIManagementListener.java +++ b/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/listener/AuthorizedAPIManagementListener.java @@ -58,10 +58,6 @@ public boolean doPostCreateApplication(ServiceProvider serviceProvider, String t "creation for Tenant: " + tenantDomain); } - if (!serviceProvider.isSaasApp()) { - return true; - } - String appName = serviceProvider.getApplicationName(); // Return if the application is not console or my account. if (!isConsole(appName) && !isMyAccount(appName)) {