Configure the Apache Server Application Programming Interface to Require an API Token - Author-it On-Premises - Author-it

Author-it Development Documentation

The Apache Server Application Programming Interface on Author-it Cloud requires an API token for authentication. You configure the Server Application Programming Server to require an API token by adding the RequiresApiToken element to the APIServer.config file.

  • To configure the Apache Server Application Programming Interface to Require an API Token

  1. Locate the APIServer.config file in your API Server Internet Information Services installation.

  2. Open the APIServer.config file in a text editor.

  3. Immediately after the Libraries element, add the following empty element.

    <RequiresApiToken />

  4. Save and close the APIServer.config file.

  5. Restart IIS.

Adding the RequiresApiToken element to the APIServer.config file specifies that the Server Application Programming Server requires an API token for each library that is configured for the API Server Internet Information Services installation. You must configure an API token for each Server Application Programming Server library and use the ApiLogin method to authenticate to each library through the Server Application Programming Server.