this.clientID = params.getValueParam("clientId").getValue();
this.clientSecret = params.getValueParam("clientSecret").getValue();
String redirectURLParam = params.getValueParam("redirectURL").getValue();
String scope = params.getValueParam("scope").getValue();
this.accessType = params.getValueParam("accessType").getValue();
ValueParam appNameParam = params.getValueParam("applicationName");
if (appNameParam != null && appNameParam.getValue() != null) {
applicationName = appNameParam.getValue();
} else {
applicationName = "GateIn portal";
}
if (clientID == null || clientID.length() == 0 || clientID.trim().equals("<<to be replaced>>")) {