Skip to main content
Hooks will reach end of life (EOL) on April 30, 2027.
  • As of October 16, 2023, Hooks are no longer available in newly created tenants.
  • As of November 18, 2024, Hooks are read-only. Active Hooks still run, and you can enable or disable them and change their configuration values and secrets. You can’t edit their code in the Dashboard, the Management API, or tools that use it, such as the Auth0 CLI, Deploy CLI, Terraform, and Agent Skills.
  • After April 30, 2027, Hooks stop running and are removed.
Use Actions to extend Auth0:
You can update Hook Secrets added to any given Hook using the Dashboard or . Hook Secrets may also be imported and exported using the Deploy Command-Line Interface (CLI) tool. To learn more, read Deploy CLI Tool.

Update Hook Secrets using the Dashboard

  1. Go to Auth0 Dashboard > Auth Pipeline > Hooks and and click the pencil icon next to the Hook you want to edit.
  2. In the Hook editor, click the wrench icon and click Secrets.
  3. Click the pencil and paper icon next to the value of the Hook Secret you want to edit.
  4. Make your changes to the name and/or value of the selected Hook Secret, and click Save.

Update Hook Secrets using the Management API

Make a PATCH call to the Update Hook Secrets endpoint. Be sure to replace HOOK_ID and MGMT_API_ACCESS_TOKEN placeholder values with your hook ID and Management API , respectively.
Using the Auth0 CLI? If you haven’t already, set up and authenticate your CLI session before running this command.
When retrieving Hook Secrets configured for a specified Hook, values will contain the placeholder text: _VALUE_NOT_SHOWN. Be careful not to return this placeholder text during an update, or the secret’s actual value will be overwritten.

Learn more