passport-auth0
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -99,3 +99,3 @@ /** | ||
this._oauth2.get(this.options.userInfoURL, accessToken, function (err, body, res) { | ||
if (err) { return done(new InternalOAuthError('failed to fetch user profile', err)); } | ||
if (err) { return done(new Error('failed to fetch user profile', err)); } | ||
@@ -115,4 +115,9 @@ try { | ||
/** | ||
* Expose `Strategy`. | ||
* Expose `Strategy` directly from package. | ||
*/ | ||
module.exports = Strategy; | ||
exports = module.exports = Strategy; | ||
/** | ||
* Export constructors. | ||
*/ | ||
exports.Strategy = Strategy; |
{ | ||
"name": "passport-auth0", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Auth0 platform authentication strategy for Passport.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9205
219
1