diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/config.json b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/config.json index 7b754303a13..d17c6c8a4e5 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/config.json +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/config.json @@ -9,12 +9,12 @@ "remoteSessionWSURL": "https://%iot.manager.host%:%iot.manager.https.port%", "portalURL": "https://%iot.analytics.host%:%iot.analytics.https.port%", "dashboardServerURL": "%https.ip%", - "androidAgentDownloadURL": "%https.ip%/devicemgt/public/cdmf.unit.device.type.android.type-view/assets/android-agent.apk", + "androidAgentDownloadURL": "https://%iot.manager.host%:%iot.manager.https.port%/devicemgt/public/cdmf.unit.device.type.android.type-view/assets/android-agent.apk", "windowsEnrollmentDir": "/windows-web-agent/enrollment", "iOSEnrollmentDir": "/ios-web-agent/enrollment", - "iOSConfigRoot": "%https.ip%/ios-enrollment/", - "iOSAPIRoot": "%https.ip%/ios/", - "adminService": "%https.ip%", + "iOSConfigRoot": "https://%iot.manager.host%:%iot.manager.https.port%/ios-enrollment/", + "iOSAPIRoot": "https://%iot.manager.host%:%iot.manager.https.port%/ios/", + "adminService": "https://%iot.manager.host%:%iot.manager.https.port%", "deviceInfoServiceAPI" : "/api/device-mgt/%device-type%/v1.0/admin/devices/info", "deviceLocationServiceAPI" : "/api/device-mgt/%device-type%/v1.0/admin/devices/location", "iOSDeviceInfoServiceAPI" : "/api/device-mgt/%device-type%/v1.0/admin/devices/info", @@ -24,11 +24,11 @@ "appType": "webapp", "clientName": "iot_ui", "owner": "admin@carbon.super", - "dynamicClientAppRegistrationServiceURL": "%https.ip%/dynamic-client-web/register", + "dynamicClientAppRegistrationServiceURL": "https://%iot.gateway.host%:%iot.gateway.https.port%/dynamic-client-web/register", "apiManagerClientAppRegistrationServiceURL": "https://%iot.gateway.host%:%iot.gateway.https.port%/api-application-registration/register/tenants", "grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer urn:ietf:params:oauth:grant-type:jwt-bearer", "tokenScope": "admin", - "callbackUrl": "%https.ip%/api/device-mgt/v1.0", + "callbackUrl": "https://%iot.gateway.host%:%iot.gateway.https.port%/api/device-mgt/v1.0", "samlGrantTypeName": "urn:ietf:params:oauth:grant-type:saml2-bearer" }, "tokenServiceURL": "https://%iot.gateway.host%:%iot.gateway.https.port%/token"