From bfebf42c0d241cb846b2a991b5d0c2f7f54c9622 Mon Sep 17 00:00:00 2001 From: Hasunie Date: Tue, 11 Jul 2017 12:11:45 +0530 Subject: [PATCH] fixing api registration endpoint issue --- .../windows-web-agent/app/modules/oauth/token-handler-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/windows-web-agent/app/modules/oauth/token-handler-utils.js b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/windows-web-agent/app/modules/oauth/token-handler-utils.js index 81932f77a..9f21470cf 100755 --- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/windows-web-agent/app/modules/oauth/token-handler-utils.js +++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/windows-web-agent/app/modules/oauth/token-handler-utils.js @@ -51,7 +51,7 @@ var utils = function () { }; // calling dynamic client app registration service endpoint var requestURL = deviceMgtProps["oauthProvider"]["appRegistration"] - ["dynamicClientAppRegistrationServiceURL"]; + ["apiManagerClientAppRegistrationServiceURL"]; var requestPayload = dcAppProperties; var encodedBasicOauth = publicMethods.encode(username + ":" + password);