fixed tenant login issue

merge-requests/5/head
Amalka Subasinghe 3 years ago
parent ec6b28360e
commit 2bd2c83650

@ -277,21 +277,11 @@ permissions="/permission/admin/manage/identity/applicationmgt/create"
scopes="internal_application_mgt_create" scopes="internal_application_mgt_create"
# ----------------Required for IOT/EMM----------------------- # ----------------Required for IOT/EMM-----------------------
[[resource.access_control]]
context="(.*)/api/device-mgt/v1.0/(.*)"
secure="true"
http_method="all"
[[resource.access_control]] [[resource.access_control]]
context="(.*)/api-application-registration/(.*)" context="(.*)/api-application-registration/(.*)"
secure="true" secure="true"
http_method="all" http_method="all"
[[resource.access_control]]
context="(.*)/api/application-mgt-publisher/v1.0/(.*)"
secure="true"
http_method="all"
[apim.sync_runtime_artifacts.gateway.skip_list] [apim.sync_runtime_artifacts.gateway.skip_list]
apis = ["_TokenAPI_.xml", "_API_Application_Registration_.xml", "admin--Android-Mutual-SSL-Configuration-Management.xml", "admin--Android-Mutual-SSL-Device-Management.xml", "admin--Android-Mutual-SSL-Event-Receiver.xml"] apis = ["_TokenAPI_.xml", "_API_Application_Registration_.xml", "admin--Android-Mutual-SSL-Configuration-Management.xml", "admin--Android-Mutual-SSL-Device-Management.xml", "admin--Android-Mutual-SSL-Event-Receiver.xml"]
sequences = ["_api_registration_fault_.xml"] sequences = ["_api_registration_fault_.xml"]
@ -309,3 +299,6 @@ grant_handler="org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.Extend
name="access_token" name="access_token"
grant_handler="org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.AccessTokenGrantHandler" grant_handler="org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.AccessTokenGrantHandler"
grant_validator="org.wso2.carbon.device.mgt.oauth.extensions.validators.AccessTokenGrantValidator" grant_validator="org.wso2.carbon.device.mgt.oauth.extensions.validators.AccessTokenGrantValidator"
[oauth.token_renewal]
renew_refresh_token=false

@ -277,23 +277,13 @@ permissions="/permission/admin/manage/identity/applicationmgt/create"
scopes="internal_application_mgt_create" scopes="internal_application_mgt_create"
# ----------------Required for IOT/EMM----------------------- # ----------------Required for IOT/EMM-----------------------
[[resource.access_control]]
context="(.*)/api/device-mgt/v1.0/(.*)"
secure="true"
http_method="all"
[[resource.access_control]] [[resource.access_control]]
context="(.*)/api-application-registration/(.*)" context="(.*)/api-application-registration/(.*)"
secure="true" secure="true"
http_method="all" http_method="all"
[[resource.access_control]]
context="(.*)/api/application-mgt-publisher/v1.0/(.*)"
secure="true"
http_method="all"
[apim.sync_runtime_artifacts.gateway.skip_list] [apim.sync_runtime_artifacts.gateway.skip_list]
apis = ["_TokenAPI_.xml", "_API_Application_Registration_.xml"] apis = ["_TokenAPI_.xml", "_API_Application_Registration_.xml", "health-check.xml", "admin--Android-Mutual-SSL-Configuration-Management.xml", "admin--Android-Mutual-SSL-Device-Management.xml", "admin--Android-Mutual-SSL-Event-Receiver.xml", "admin--IOS-Enrollment.xml", "admin--IOS-Enrollment-Authenticate-Agent.xml", "admin--IOS-Enrollment-Profile.xml", "admin--IOS-Enrollment-Profile-DEP.xml", "admin--IOS-Enrollment-Scep.xml", "admin--Windows_8.1_Device_Management_Service.xml", "admin--Windows_8.1_Device_Management_Service_v1.0.0.xml", "admin--Windows_8.1_Enrollment_Service.xml", "admin--Windows_8.1_Enrollment_Service_v1.0.0.xml", "admin--Windows_10_Device_management.xml", "admin--Windows_10_Device_management_v1.0.0.xml", "admin--Windows_10_Enrollment_Service.xml", "admin--Windows_10_Enrollment_Service_v1.0.0.xml", "admin--Windows_Discovery_Service.xml", "admin--Windows_Discovery_Service_v1.0.0.xml", "admin--Windows_Enrollment_policy_Service.xml", "admin--Windows_Enrollment_policy_Service_v1.0.0.xml"]
sequences = ["_api_registration_fault_.xml"] sequences = ["_api_registration_fault_.xml"]
[transport.https.properties] [transport.https.properties]
@ -309,3 +299,6 @@ grant_handler="org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.Extend
name="access_token" name="access_token"
grant_handler="org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.AccessTokenGrantHandler" grant_handler="org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.AccessTokenGrantHandler"
grant_validator="org.wso2.carbon.device.mgt.oauth.extensions.validators.AccessTokenGrantValidator" grant_validator="org.wso2.carbon.device.mgt.oauth.extensions.validators.AccessTokenGrantValidator"
[oauth.token_renewal]
renew_refresh_token=false

Loading…
Cancel
Save