mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
⚡ Simplify Zendesk credentials
This commit is contained in:
parent
9496505232
commit
6981438a38
|
@ -28,16 +28,16 @@ export class ZendeskOAuth2Api implements ICredentialType {
|
||||||
{
|
{
|
||||||
displayName: 'Authorization URL',
|
displayName: 'Authorization URL',
|
||||||
name: 'authUrl',
|
name: 'authUrl',
|
||||||
type: 'string' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
default: 'https://{SUBDOMAIN_HERE}.zendesk.com/oauth/authorizations/new',
|
default: '=https://{{$parameter["subdomain"]}}.zendesk.com/oauth/authorizations/new',
|
||||||
description: 'URL to get authorization code. Replace {SUBDOMAIN_HERE} with your subdomain.',
|
description: 'URL to get authorization code. Replace {SUBDOMAIN_HERE} with your subdomain.',
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Access Token URL',
|
displayName: 'Access Token URL',
|
||||||
name: 'accessTokenUrl',
|
name: 'accessTokenUrl',
|
||||||
type: 'string' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
default: 'https://{SUBDOMAIN_HERE}.zendesk.com/oauth/tokens',
|
default: '=https://{{$parameter["subdomain"]}}.zendesk.com/oauth/tokens',
|
||||||
description: 'URL to get access token. Replace {SUBDOMAIN_HERE} with your subdomain.',
|
description: 'URL to get access token. Replace {SUBDOMAIN_HERE} with your subdomain.',
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue