We have upgraded recently our version from 3.6 to 3.8 and we have noticed a regression regarding the built URI.
our current code to build the uri is:
ApiClient client = new ApiClient();
client.setOAuthBasePath(authServerUrl);
URI uri = getAuthorizationUri(clientId, scopes, redirectUri, "code", state);
with an authServerUrl = 'account.docusign.com'
What we got in the output is:
'https:/account.docusign.com' instead of `https://account.docusign.com' (one missing slash after https)