diff --git a/components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationServiceImpl.java b/components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationServiceImpl.java index 356215c224cc..ebc5ec0d3eb2 100644 --- a/components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationServiceImpl.java +++ b/components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationServiceImpl.java @@ -144,7 +144,7 @@ public Response register(RegistrationProfile profile) { } } - String tokenType = APIConstants.JWT; + String tokenType = APIConstants.DEFAULT_TOKEN_TYPE; String profileTokenType = profile.getTokenType(); if (StringUtils.isNotEmpty(profileTokenType)) { tokenType = profileTokenType;