mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation, "Extension Authenticate Instance" under the "Marketplace" resource, is designed to authenticate an extension instance by verifying its identity using a provided instance ID and a secret key. This is particularly useful in scenarios where external applications or services need to securely confirm their integration or connection with a platform via lifecycle webhooks. For example, when an extension is added to a context or when its secret is rotated, this node can be used to authenticate the instance before allowing further interactions.

Properties

Name Meaning
Extension Instance Id The unique identifier of the extension instance that needs to be authenticated.
Extension Instance Secret The latest secret string received by the external application through lifecycle webhooks such as ExtensionAddedToContext and ExtensionInstanceSecretRotated. This secret is used to verify the authenticity of the extension instance.

Output

The node outputs JSON data representing the response from the authentication request. This typically includes confirmation of successful authentication or error details if authentication fails. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating requests to the mittwald mStudio API.
  • The node sends HTTP requests to the base URL: https://api.mittwald.de.
  • The request content type is JSON, and it expects JSON responses.
  • Proper configuration of the API key credential within n8n is necessary for successful operation.

Troubleshooting

  • Common Issues:

    • Incorrect or expired Extension Instance Secret may cause authentication failures.
    • Providing an invalid or non-existent Extension Instance Id will result in errors.
    • Network connectivity issues or incorrect API base URL configuration can prevent successful requests.
  • Error Messages:

    • Authentication failure messages usually indicate invalid credentials; verify the secret and instance ID.
    • HTTP errors like 401 Unauthorized suggest missing or invalid API key credentials.
    • Timeout or network errors imply connectivity problems; check your internet connection and API endpoint accessibility.

Links and References

Discussion