Simplify Zendesk credentials

This commit is contained in:
Jan Oberhauser 2021-01-15 09:47:39 +01:00
parent 9496505232
commit 6981438a38

View file

@ -28,16 +28,16 @@ export class ZendeskOAuth2Api implements ICredentialType {
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'string' as NodePropertyTypes,
default: 'https://{SUBDOMAIN_HERE}.zendesk.com/oauth/authorizations/new',
type: 'hidden' as NodePropertyTypes,
default: '=https://{{$parameter["subdomain"]}}.zendesk.com/oauth/authorizations/new',
description: 'URL to get authorization code. Replace {SUBDOMAIN_HERE} with your subdomain.',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'string' as NodePropertyTypes,
default: 'https://{SUBDOMAIN_HERE}.zendesk.com/oauth/tokens',
type: 'hidden' as NodePropertyTypes,
default: '=https://{{$parameter["subdomain"]}}.zendesk.com/oauth/tokens',
description: 'URL to get access token. Replace {SUBDOMAIN_HERE} with your subdomain.',
required: true,
},