Files
n8n/packages/nodes-base/credentials/TrelloOAuth1Api.credentials.ts
Garrit Franke 700b1cd227 feat(Trello Node): Add OAuth1 credential support (#30369)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Dawid Myslak <dawid.myslak@gmail.com>
2026-06-02 13:02:57 +00:00

40 lines
903 B
TypeScript

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
export class TrelloOAuth1Api implements ICredentialType {
name = 'trelloOAuth1Api';
extends = ['oAuth1Api'];
displayName = 'Trello OAuth1 API';
documentationUrl = 'trello';
properties: INodeProperties[] = [
{
displayName: 'Request Token URL',
name: 'requestTokenUrl',
type: 'hidden',
default: 'https://trello.com/1/OAuthGetRequestToken',
},
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'hidden',
default:
'https://trello.com/1/OAuthAuthorizeToken?scope=read,write,account&expiration=never&name=n8n',
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'hidden',
default: 'https://trello.com/1/OAuthGetAccessToken',
},
{
displayName: 'Signature Method',
name: 'signatureMethod',
type: 'hidden',
default: 'HMAC-SHA1',
},
];
}