diff --git a/packages/nodes-base/credentials/ZendeskOAuth2Api.credentials.ts b/packages/nodes-base/credentials/ZendeskOAuth2Api.credentials.ts index fd9353ca134..f57ed33c39d 100644 --- a/packages/nodes-base/credentials/ZendeskOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/ZendeskOAuth2Api.credentials.ts @@ -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, },