From 7ec26ad35a8537938216f48ec1d2637d4b896229 Mon Sep 17 00:00:00 2001 From: Amalka Subasinghe Date: Mon, 21 Jun 2021 21:34:56 +0530 Subject: [PATCH] added grant handler configs --- distribution/emm-community/src/conf/deployment.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/distribution/emm-community/src/conf/deployment.toml b/distribution/emm-community/src/conf/deployment.toml index fac3b8a..8473704 100644 --- a/distribution/emm-community/src/conf/deployment.toml +++ b/distribution/emm-community/src/conf/deployment.toml @@ -302,3 +302,10 @@ maxHttpHeaderSize="16384" [transport.http.properties] maxHttpHeaderSize="16384" +[oauth.grant_type.jwt_bearer] +grant_handler="org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.ExtendedJWTGrantHandler" + +[[oauth.custom_grant_type]] +name="access_token" +grant_handler="org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.AccessTokenGrantHandler" +grant_validator="org.wso2.carbon.device.mgt.oauth.extensions.validators.AccessTokenGrantValidator"