2.0.12 • Published 5 years ago

balihoo-auth0-client v2.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

balihoo-auth0-client

Wraps the auth0 node SDK and adds functionality for generating oAuth tokens. Also turns auth0 permissions into a "userdata" structure which replicates our old stormpath custom data schema.

Instantiating

var BalihooAuth0Client = require('balihoo-auth0-client').BalihooAuth0Client;
var client = new BalihooAuth0Client({
  domain: "something.auth0.com", // your assigned auth0 subdomain
  clientId: "aslknweJWEh",
  clientSecret: "jwek2jJwshzh9zhH",
  loginRedirectUrl: "https://myservice.com/login", // URL to which auth0 should redirect on successful login
  logoutRedirectUrl: "https://myservice.com/logout", // URL to which auth0 should redirect on successful logout
  authorizationApiUrl: "https://something.us.webtask.io/asjh3j2h39ahhs/api", // URL to the auth0 authorization extension API
  managementClientId: "P3JHWh28xz", // auth0 client ID with permissions to perform management activities on the auth0 API
  managementClientSecret: "Ies82Hj29nHaj9" // auth0 client secret with permissions to perform management activities on the auth0 API
});
2.0.12

5 years ago

2.0.11

7 years ago

2.0.10

7 years ago

2.0.9

7 years ago

2.0.8

7 years ago

2.0.7

7 years ago

2.0.6

7 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago