You can use the sample user-password script in the Advanced tab as a template for your own custom user-password script. The first two lines set values for the fields “username-field” and “password-field”, which are probably not the field names required by a specific user-password web application. Simply replacing those field names with the field names an application requires will satisfy most applications.
The third and forth lines add a third and fourth field to the response, which probably aren’t necessary. You can delete them if they aren’t. If an application requires additional fields, modify these lines with the required field names and values.
To see further examples of custom user-password scripts, select any already-defined user-password application profile in the Apps panel of the Admin Portal, then view its Advanced tab. The tab displays the custom script used to connect to that application.