Once the oauthClientIdEncode is set to false, got the following issue.
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Code issue:
public List
getOauthHttpHeaders(String oauthClientId, boolean oauthClientIdEncode)
log.debug("predix.oauth.clientId=" + oauthClientId.substring(0, oauthClientId.indexOf(":")));.