Nuvem Solution icon

Nuvem Solution

Interact with Nuvem Solution API

Actions120

Authentication → Authenticate

AI-generated

Overview

This node integrates with the Nuvem Solution API, providing a wide range of operations across multiple resources. Specifically, for the Authentication resource and the Authenticate operation, it allows users to authenticate a single user by sending their credentials (software key, secret, user ID, and user key) to the API. This is useful in scenarios where you need to verify user identity or obtain an access token for further API interactions.

Practical examples include:

  • Validating user credentials before allowing access to protected workflows.
  • Automating login processes for systems integrated with Nuvem Solution.
  • Authenticating multiple users at once using the related "Multiple Authenticate" operation.

Properties

Name Meaning
Software Key The software key used for authentication with the Nuvem Solution API.
Secret The secret password associated with the software key for authentication.
User ID The identifier of the user to authenticate.
User Key The user-specific key used alongside the user ID for authentication.

Output

The node outputs JSON data returned from the Nuvem Solution API corresponding to the authentication request. For the Authenticate operation, this typically includes fields such as:

  • authenticated: Boolean indicating if authentication was successful.
  • accessToken: A token string used for subsequent authenticated API requests.
  • expiration: Timestamp indicating when the access token expires.

If authentication fails, the output will contain error information describing the failure.

No binary data output is produced by this node.

Dependencies

  • Requires an active internet connection to reach the Nuvem Solution API endpoints.
  • Needs valid API credentials: software key, secret, user ID, and user key.
  • The node uses an API base URL configured in the credentials.
  • The node internally manages an access token cache to optimize repeated authentications.

Troubleshooting

  • Authentication failed: Invalid response from server
    This error indicates that the API did not return a valid authentication response. Check that all credentials (software key, secret, user ID, user key) are correct and have proper permissions.

  • Network errors or timeouts
    Ensure that the n8n instance has network access to the Nuvem Solution API endpoint and that no firewall or proxy is blocking the requests.

  • Incorrect property values
    Verify that all required properties are provided and correctly formatted. Missing or empty required fields will cause errors.

  • Token expiration issues
    The node caches the access token until its expiration. If you encounter unexpected authentication failures, try resetting the node or workflow to clear cached tokens.

Links and References

Discussion