diff --git a/lib/strategies/api-strategy.js b/lib/strategies/api-strategy.js index 37fe8aa6..8b2cc6c7 100644 --- a/lib/strategies/api-strategy.js +++ b/lib/strategies/api-strategy.js @@ -114,18 +114,18 @@ ApiStrategy.prototype.authenticate = function(req, options) { } else { logger.warn("Invalid identity_token. Proceeding with access_token only"); } - logger.debug("authentication success."); + logger.debug("authentication success"); return self.success(identityToken || null); }).catch (function (err) { - logger.debug("authentication failed due to invalid identity token."); + logger.debug("authentication failed due to invalid identity token"); return self.fail(buildWwwAuthenticateHeader(requiredScope, ERROR.INVALID_TOKEN), 401); }); } else { - logger.debug("authentication success: identity_token not found. Proceeding with access_token only."); + logger.debug("authentication success: identity_token not found. Proceeding with access_token only"); return self.success(identityToken || null); } }).catch (function (err) { - logger.debug("authentication failed due to invalid access token."); + logger.debug("authentication failed due to invalid access token"); return self.fail(buildWwwAuthenticateHeader(requiredScope, ERROR.INVALID_TOKEN), 401); }); diff --git a/package.json b/package.json index a0f9fe91..89ed2a44 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "jsonwebtoken": "^7.2.1", "log4js": "^1.1.0", "q": "^1.4.1", - "request": "^2.79.0", + "request": "2.81.0", "rsa-pem-from-mod-exp": "^0.8.4", "underscore": "^1.8.3" }