Overview
This node handles authentication to the TANSS API by performing a login operation. It is useful for workflows that require access to TANSS services, where the user needs to authenticate with their username and password to obtain a session or token. For example, it can be used as the initial step in a workflow to authenticate before making further API requests to TANSS.
Use Case Examples
- Logging into the TANSS API to start a session for subsequent API calls.
- Automating TANSS API authentication in an n8n workflow.
Output
JSON
json- The JSON response from the TANSS API login endpoint, typically containing authentication 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!' or 'Login failed' with the error message from the API.
- If an unsupported operation is specified, the node throws an error indicating the operation is not recognized.