Overview
This node generates an OAuth2 Client Credentials token for the Zendry API. It is useful for automating authentication processes when integrating with Zendry services, allowing secure API access without manual token management. For example, it can be used in workflows that require authenticated requests to Zendry's API endpoints.
Use Case Examples
- Automate token generation for Zendry API access in a workflow.
- Securely authenticate API requests to Zendry without manual token handling.
Properties
| Name | Meaning |
|---|---|
| Client ID | The Client ID of the Zendry application, required for OAuth2 authentication. |
| Client Secret | The Client Secret of the Zendry application, required for OAuth2 authentication. |
Output
JSON
base64_auth- Base64 encoded string of Client ID and Client Secret used for Basic Authentication.access_token- The OAuth2 access token generated for Zendry API.token_type- Type of the token, typically 'Bearer'.expires_in- Token expiration time in seconds.expires_in_human- Token expiration time expressed in minutes for easier understanding.
Dependencies
- Requires network access to Zendry API endpoint https://api.zendry.com.br/auth/generate\_token.
Troubleshooting
- Ensure both Client ID and Client Secret are provided; missing these will cause errors.
- Network issues or incorrect credentials will result in token generation failure with an error message 'Erro ao gerar token OAuth2'.
- Use 'Continue On Fail' option to handle errors gracefully in batch processing.