mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(core): Add Support for Additional Body Properties in OAuth2 API Client Credentials Flow (#16573)
Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
@@ -107,6 +107,34 @@ export class OAuth2Api implements ICredentialType {
|
||||
],
|
||||
default: 'header',
|
||||
},
|
||||
{
|
||||
displayName: 'Send Additional Body Properties',
|
||||
name: 'sendAdditionalBodyProperties',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
displayOptions: {
|
||||
show: {
|
||||
grantType: ['clientCredentials'],
|
||||
authentication: ['body'],
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Body Properties',
|
||||
name: 'additionalBodyProperties',
|
||||
type: 'json',
|
||||
typeOptions: {
|
||||
rows: 5,
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
grantType: ['clientCredentials'],
|
||||
authentication: ['body'],
|
||||
sendAdditionalBodyProperties: [true],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Ignore SSL Issues (Insecure)',
|
||||
name: 'ignoreSSLIssues',
|
||||
|
||||
Reference in New Issue
Block a user