Auth0 Extension Tools for Hapi
A set of tools and utilities to simplify the development of Auth0 Extensions with Hapi.
Usage
const hapiTools = ;
Middlewares
A middleware to inject the Management API Client for Node.js on the current request:
const middlewares = middlewares; moduleexports { server; ;};
Url Helpers
const urlHelpers = urlHelpers; // Eg: /api/run/mytenant/abc/const basePath = urlHelpers; // Eg: http://sandbox.it.auth0.com/api/run/mytenant/abcconst baseUrl = urlHelpers; // Eg: http://tenant.us.webtask.io/abcconst webtaskUrl = urlHelpers;