Write a custom user-password script

The custom user-password script specifies elements that must be present in the HTML response that starts the current user session with a web application. To write the script, you must know what HTML response fields the web application requires. The script must retrieve required information from the web application’s profile and the user object, and must then specify the response fields and their values using the response.AddFormField() method. After the script executes, CyberArk Identity follows the script’s specifications to create an HTML response.

The custom user-password script is JavaScript. Each generic user-password application profile requires a custom user-password script.