Simplify Mautic OAuth credentials

This commit is contained in:
Jan Oberhauser 2021-01-25 07:58:40 +01:00
parent 1dedb3f4b8
commit 0db307186e

View file

@ -21,17 +21,15 @@ export class MauticOAuth2Api implements ICredentialType {
{
displayName: 'Authorization URL',
name: 'authUrl',
type: 'string' as NodePropertyTypes,
default: '',
placeholder: 'https://name.mautic.net/oauth/v2/authorize',
type: 'hidden' as NodePropertyTypes,
default: '={{$parameter["url"]}}/oauth/v2/authorize',
required: true,
},
{
displayName: 'Access Token URL',
name: 'accessTokenUrl',
type: 'string' as NodePropertyTypes,
default: '',
placeholder: 'https://name.mautic.net/oauth/v2/token',
type: 'hidden' as NodePropertyTypes,
default: '={{$parameter["url"]}}/oauth/v2/token',
required: true,
},
{