Create AM Script
createScriptCreate a new Scripted Decision Node script to add custom JavaScript logic to authentication journeys, specifying the realm and script code.
Instructions
Create a new Scripted Decision Node script for use in authentication journeys. Use getScriptedDecisionNodeBindings to see available variables and allowed imports before writing the script.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | The realm to create the script in | |
| name | Yes | The name of the script | |
| description | No | Optional description of the script | |
| script | Yes | The JavaScript source code for the script |