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);