TANSS Authentication icon

TANSS Authentication

Handles TANSS API Authentication

Overview

This node handles authentication to the TANSS API by performing a login operation. It is useful in workflows where subsequent API calls require a valid login session or token from the TANSS system. For example, it can be used to authenticate before fetching or sending data to the TANSS backend services.

Use Case Examples

  1. Logging into the TANSS API to obtain a session token for further API requests.
  2. Automating the login process in a workflow that interacts with TANSS services.

Output

JSON

  • json - The JSON response from the TANSS API login endpoint, typically containing authentication details such as tokens or session information.

Dependencies

  • Requires TANSS API credentials including username, password, and base URL.

Troubleshooting

  • If no credentials are provided or credentials are invalid, the node throws an error 'No credentials returned!'. Ensure credentials are correctly configured.
    If the login request fails (e.g., due to incorrect username/password or network issues), the node throws an error with the message 'Login failed: '. Verify credentials and network connectivity.
  • If an unsupported operation is specified, the node throws an error indicating the operation is not recognized. Only the 'login' operation is supported.

Discussion