final WSRequestHolder request = WS.url(absoluteUrl)
.setTimeout(DEFAULT_TIMEOUT.intValue());
if (signRequest) {
request.setFollowRedirects(false) // because we need to sign again in those cases.
.sign(new JwtSignatureCalculator(jwtAuthorisationGenerator, acHost, userId));
}
return request;
}