Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Set up authentication to work with your SAML/SSO, if needed.
  2. Open <twcdir>/AuthServer/config/authserver.properties.
  3. Find key authentication.client.ids and add ,twc-rest-api at the end of the value. Save and close the file.

    Note
    titleNote

    The comma before twc-rest-api is a separator.


  4. Open <twcdir>/configuration/application.conf.
  5. Find the esi.auth block and set the server value to your authentication server IP. Save and close the file.
  6. Restart the Authentication server and Teamwork Cloud server.

...

  1. Open REST API at the following URL:https://<ip>:8111/osmc/authen/login on a browser to redirect to the Authentication server login page.
  2. Enter your credentials. The browser shows you a token, usually starting with eyJ.



  3. Copy the token and use it to log on to REST API.

    Note
    Note
    title

    The token is used in an Authorization header with the Token Type.


...