mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node enables authentication of an extension with a session token against the mittwald mStudio API. It is designed to securely verify an extension's identity by sending a secret and a session token, which are typically obtained during the extension setup or login process. This operation is useful when you need to programmatically authenticate extensions in workflows that integrate with mittwald services, ensuring secure access and interaction.

Practical examples include:

  • Automating extension login flows within n8n.
  • Validating session tokens before performing further API operations.
  • Managing extension sessions dynamically in integration scenarios.

Properties

Name Meaning
Extension Secret The secret key generated specifically for your extension, used to authenticate it.
Session Token The session token received from the mittwald mStudio, representing an active session.

Output

The node outputs JSON data containing the response from the mittwald mStudio API after attempting to authenticate the extension with the provided session token and secret. The exact structure depends on the API response but generally includes authentication status and possibly session details.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for mittwald mStudio API authentication configured in n8n.
  • Depends on the mittwald mStudio API endpoint at https://api.mittwald.de.
  • Uses standard HTTP headers for JSON content type and accepts JSON responses.

Troubleshooting

  • Invalid Credentials: If the extension secret or session token is incorrect or expired, the API will reject the authentication. Verify that both values are current and correctly entered.
  • Network Issues: Connectivity problems to the mittwald API endpoint can cause failures. Ensure network access and correct base URL configuration.
  • Missing Required Fields: Both "Extension Secret" and "Session Token" are required. Omitting either will result in errors.
  • API Rate Limits: Excessive requests may be throttled by the API; handle such errors by implementing retries or backoff strategies.

Links and References

Discussion