public static String decode(String encodedString) {
        if (StringUtils.isBlank(encodedString)) {
            return encodedString;
        }
        return new String(Base64.getDecoder().decode(encodedString));
    }
@param encodedCredentials should be base64 encoding of username + separator + password
@param separator
@return Credentials
commons/src/main/java/io/hyscale/commons/utils/EncodeDecodeUtil.java