Basic access authentication for Help the Help Desk

An alternative to cookie-based authentication for the Help the Help Desk script is basic access authentication, which employs two properties to configure the script with credentials.

When a user logs in with the proper credentials, that user accesses the instance in the soap_ecc role, which grants access to the ECC queue but limits the user's access to other features. The administrator then configures the system properties with the user name and password for the soap_ecc user.

The values from these properties are automatically saved to the script file helpthehelpdesk.js. When this user runs the Help the Help Desk script, the instance checks for a cookie. If no cookie is found, the instance checks for the login credentials provided by the system properties, and authenticates the script automatically.

Set up basic access authentication for the Help the Help Desk script

You can set up basic access authentication for the Help the Help Desk script.

Before you begin

Role required: admin

Procedure

  1. Create a new user with the following values.
    User ID Create an easily recognizable user name such as SOAPAUTH or SOAPONLY.
    First name SOAP
    Last name Authentication
    Password Any password
  2. Right-click the header bar and select Save.
    The record is saved, and the Related Lists appear.
  3. In the Roles Related List, click Edit.
  4. In the slushbucket, move the soap_ecc role from the Collection list to the Roles list, and then click Save.
  5. Navigate to System Definition > Help the Help Desk.
  6. Add the user name and password you created to the appropriate properties, and then click Save.
    The password is encoded when saved.

    The login credentials from these properties are saved to the helpthehelpdesk.js script. When the Help the Help Desk script is run by a user logged in with these credentials (in the soap_ecc role), the script is able to authenticate automatically on the instance.