Add parameter to include credentials in querystring (Woocommerce) (#1756)

This commit is contained in:
Ricardo Espinoza
2021-05-12 00:20:40 -04:00
committed by GitHub
parent 7bc79c879d
commit c632f7982f
3 changed files with 22 additions and 6 deletions

View File

@@ -27,5 +27,14 @@ export class WooCommerceApi implements ICredentialType {
default: '',
placeholder: 'https://example.com',
},
{
displayName: 'Include Credentials in Query',
name: 'includeCredentialsInQuery',
type: 'boolean' as NodePropertyTypes,
default: false,
description: `Occasionally, some servers may not parse the Authorization header correctly</br>
(if you see a “Consumer key is missing” error when authenticating over SSL, you have a server issue).</br>
In this case, you may provide the consumer key/secret as query string parameters instead.`,
},
];
}