Auth0 Extensions CLI
Command-line tool allowing you to build a Node.js backend as an Auth0 Extension
npm install --save-dev auth0-extensions-cli
Building the backend
In order to compile your Node.js backend into an Auth0 Extension you can add a script similar to this one to your
Then simply run
npm run extension:build to compile the extension. This will then take the
webtask.js file as the entrypoint and place the output in the
You can add an
auth0-extension node to your
package.json file to specify specific versions of Node.js modules which are available on the Webtask platform (as a result these modules will not be bundled in the extension itself). And it's also possible to define settings which will be available in the extension under
a0-ext validate- Check extension`s package.json to contain all necessary information.
a0-ext build:client- Compile your React Frontend into an Auth0 Extension Client.
a0-ext build:server- Compile your Node.js Backend into an Auth0 Extension.
a0-ext package- Package assets for extension deployment.
a0-ext deploy- Deploy the extension to Auth0.
If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.
For auth0 related questions/support please use the Support Center.
This project is licensed under the MIT license. See the LICENSE file for more info.