Node 22 is available.
Node 22 is the recommended extensibility runtime.
Differences from earlier runtimes
- Module-level code in Actions runs once per instance of your Action and may be reused across many executions.
- The
use npmdirective isn’t available. - Filesystem write access is disabled.
- The set of modules you can require differs. Check Can I require: Auth0 Extensibility.
- Action Modules written with APIs that are deprecated in Node.js 22 work on Node 18 but fail on Node 22.
Use Node 22
- To create a new Action on Node 22, or upgrade an existing one, and to change the tenant-wide runtime, read Configure the Runtime.
- To plan an upgrade from Node 18, read Migrate from Node 18 to Node 22.