Actions199
- Collections Actions
- Forms Actions
- Actions Capabilities Actions
- Activities Actions
- Attachments Actions
- Budgets Actions
- Categories Actions
- Custom Actions Actions
- Custom Options Actions
- Documents Actions
- File Links Actions
- View File Link
- Delete File Link
- Open File Link
- Download File Link
- List Project Storages
- Get Project Storage
- Open Project Storage
- Create Storage
- Get Storage
- Update Storage
- Delete Storage
- Get Storage Files
- Prepare Storage File Upload
- Create Storage Folder
- Create Storage Oauth Credentials
- Open Storage
- Create Work Package File Link
- List Work Package File Links
- Grids Actions
- Groups Actions
- Help Texts Actions
- Memberships Actions
- Query Filter Instance Schema Actions
- News Actions
- Notifications Actions
- O Auth 2 Actions
- Posts Actions
- Principals Actions
- Priorities Actions
- Query Columns Actions
- Query Filters Actions
- Query Operators Actions
- Query Sort Bys Actions
- Relations Actions
- Previewing Actions
- Revisions Actions
- Roles Actions
- Time Entries Actions
- Time Entry Activities Actions
- Types Actions
- User Preferences Actions
- Wiki Pages Actions
- Work Schedule Actions
- Meetings Actions
- Values Property Actions
- Projects Actions
- Queries Actions
- Users Actions
- Statuses Actions
- Versions Actions
- Work Packages Actions
- Get Project Work Package Collection
- Create Project Work Package
- List Work Package File Links
- Form Create Work Package In Project
- Project Available Assignees
- List Work Packages
- Create Work Package
- Form Create Work Package
- List Work Package Schemas
- View Work Package Schema
- Delete Work Package
- View Work Package
- Update Work Package
- List Work Package Activities
- Comment Work Package
- Work Package Available Assignees
- Available Projects For Work Package
- List Available Relation Candidates
- Available Watchers
- Create Work Package File Link
- Form Edit Work Package
- Revisions
- Reminders
- List Watchers
- Add Watcher
- Remove Watcher
- Views Actions
Overview
This node operation allows you to create OAuth credentials for a storage service within the "File Links" resource. It is useful when you need to programmatically register or update OAuth 2.0 client credentials (client ID and client secret) associated with a specific storage identified by an ID. This can be part of automating integrations where secure access tokens are required to interact with external storage providers.
Practical examples include:
- Automating the setup of OAuth credentials for cloud storage services before performing file operations.
- Managing multiple storage connections dynamically by creating or updating their OAuth credentials via workflows.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the storage for which OAuth credentials are created. Must be a number. |
| Client Id | The OAuth 2.0 client identifier issued by the storage provider. |
| Client Secret | The OAuth 2.0 client secret key associated with the client ID. |
Output
The node outputs JSON data representing the result of the OAuth credentials creation request. This typically includes confirmation details such as the stored client ID, possibly an internal identifier for the credentials, and status information from the storage service API.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the storage service's API endpoint that supports OAuth credential management.
- Needs an API authentication token or API key configured in n8n credentials to authorize the request.
- The node sends HTTP requests with JSON bodies containing the client ID and client secret.
Troubleshooting
- Invalid Storage Id: If the provided storage ID does not exist or is incorrect, the API may return an error indicating the storage was not found. Verify the ID before running the node.
- Authentication Errors: Missing or invalid API credentials for the storage service will cause authorization failures. Ensure the correct API key or token is configured.
- Invalid Client Credentials: Providing malformed or empty client ID or client secret fields will likely cause the API to reject the request. Double-check these values.
- Network Issues: Connectivity problems to the storage service API endpoint will prevent successful execution. Confirm network access and endpoint URLs.
Common error messages usually relate to HTTP 4xx or 5xx responses indicating bad requests, unauthorized access, or server errors. Reviewing the response body often provides clues on how to fix input parameters or credentials.
Links and References
- OAuth 2.0 specification: https://oauth.net/2/
- Typical storage service API documentation (varies by provider)
- n8n HTTP Request node documentation for custom API calls: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/