protected Response getResponse(User user, OAuthRequest oAuthRequest) throws Exception { Token token = oAuthManager.getAccessToken(user); if (token != null) { OAuthService oAuthService = oAuthManager.getOAuthService(); oAuthService.signRequest(token, oAuthRequest); } oAuthRequest.setFollowRedirects(false); return oAuthRequest.send(); }