Skip to content

Commit eeafeb0

Browse files
committed
revert making jwt as default token type for dcr apps.
1 parent 51dceac commit eeafeb0

File tree

1 file changed

+1
-1
lines changed
  • components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl

1 file changed

+1
-1
lines changed

components/apimgt/org.wso2.carbon.apimgt.rest.api.dcr/src/main/java/org/wso2/carbon/apimgt/rest/api/dcr/web/impl/RegistrationServiceImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public Response register(RegistrationProfile profile) {
144144
}
145145
}
146146

147-
String tokenType = APIConstants.TOKEN_TYPE_JWT;
147+
String tokenType = APIConstants.DEFAULT_TOKEN_TYPE;
148148
String profileTokenType = profile.getTokenType();
149149
if (StringUtils.isNotEmpty(profileTokenType)) {
150150
tokenType = profileTokenType;

0 commit comments

Comments
 (0)