Edit Existing Hooks Using the Auth0 Command-Line InterfaceBeta
You can edit the code of your Hook using the Webtask Editor. The following command will open up the code for your Hook in the Webtask Editor window:
auth0 edit my-extension-1
If the CLI cannot open the Editor window automatically, you can copy and paste the provided link into your web browser.
Test Your Hook
The Webtask Editor allows you to test your Hook using the Runner. By default, the Runner is hidden until you choose to display it by clicking its icon in the top left of the Editor.
The Runner allows you to simulate an Auth0 call to your Hook and provides the basic parameters needed to complete the call. You can edit the provided schema as necessary.
When you're ready, click Run to proceed. You will be presented with the results of the call.
If you run multiple tests, the Runner keeps track of the calls you've made in its History section. For each result, you can see specific details about the call by clicking > to the right of the call result.
Test Runner Schema
If you created your Hook early on during the beta testing period, your Webtask Editor/Test Runner window might not populate with the schema required to successfully use the Test Runner. If that is the case, you'll need to save the Hook's code, delete the Hook, and create a new Hook using your existing code.
If you provisioned a secret to your Hook during creation, you can manipulate it by clicking on the wrench at the top left of the Webtask Editor window and selecting Secrets from the dropdown menu.