Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

auth0

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth0 - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

24

lib/api.js

@@ -197,2 +197,24 @@ var request = require('request'),

});
};
};
api.getStrategies = function(accessToken, done) {
request.get({
url: this.apiUrl + '/strategies',
qs: { access_token: accessToken }
}, function (err, r, body) {
if (err) { return done(err); }
if (r.statusCode.toString().substr(0, 1) !== '2'){
return done(new Error(body));
}
try {
var result = JSON.parse(body);
done(null, result);
} catch(e) {
done(e);
}
});
};

2

package.json
{
"name": "auth0",
"version": "0.1.4",
"version": "0.1.5",
"description": "Client library for the Auth0 platform",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -44,20 +44,5 @@ Node.js client library for the Auth0 platform.

'options': {
// depending on the strategy, you will need a set of credentials to authenticate
// your app against the directory (office365 and google apps use this)
// Note: you will use the same values for these fields
// for all connections with same strategy (in this case office365)
'client_id': 'xxx',
'client_secret': 'xxx',
// These fields are provided by the user:
'tenant_domain': 'bigcompany.com or bicompany.onmicrosoft.com',
// attributes:
'ext_profile': true,
'ext_groups': true,
'ext_assigned_plans': true,
// grants:
'api_enable_users': true
'tenant_domain': 'bigcompany.com or bicompany.onmicrosoft.com'
};

@@ -64,0 +49,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc